I am new to Python and badly need help...I am trying to run a DOS batch file from Python..I have given the inputs also..It runs half and then exits at the point of time when I need to give answer to whether I need to replace two files or not...when that interrupt comes up the batch file just closes and no error is logged...how do I get to give that user input in the middle...is it possible???Is there any way that the python would prompt us to enter the values???
Thanks in advance
i am sorry but I am not able to execute that command as a sub-process as it says in the library reference...i have been using the following code :
where the 3 inputs are defined previously...
Please could u let me know how to use popen2() with this cmd...