Hello,
has anyone had experience with running batch files from tcl? I have a .bat file set up for ftp'ing files, and the output of the ftp command pipes to a log file. If I double click the .bat file, it runs fine and the log file reports all the arguments and responses from the ftp command. However, if I run the exact same batch file from a TCL script (exec $the_batch_file), the output is different, it doesn't capture the response from dos, it only reports the arguments. Does anyone know how I can capture both the arguments and responses running the batch file from TCL? I also tried using the ftp command from within the script itself but with the same problem, it doesn't capture the responses.
has anyone had experience with running batch files from tcl? I have a .bat file set up for ftp'ing files, and the output of the ftp command pipes to a log file. If I double click the .bat file, it runs fine and the log file reports all the arguments and responses from the ftp command. However, if I run the exact same batch file from a TCL script (exec $the_batch_file), the output is different, it doesn't capture the response from dos, it only reports the arguments. Does anyone know how I can capture both the arguments and responses running the batch file from TCL? I also tried using the ftp command from within the script itself but with the same problem, it doesn't capture the responses.