S
smat-consulting
Guest
I tried that, too... same issue... Ok here's what I found: If I do OS-COMMAND NO-WAIT "x.bat >x.log 2>&1" and test.bat does a python x.py the python errors are displayed in the black-box, and lost. If I add a separate output recordation to the python call in the bat file, the behavior does not change. If I change NO-WAIT to SILENT, the redirection within the bat file works, and captures the python errors. Well, "it works with SILENT" is not quite true either... at least not always... with a simple test.bat, that only echos the input parameters it works. Trying to first start OpenOffcie in a headless mode, then run a python script, it simply hangs. Haven't figured out why, since it runs with no modifier and with NO-WAIT... Did I ever mention I hate windows? Well, I do!!!
Continue reading...
Continue reading...