Dear all, I am using some old scripts written in Gauss. I launch a bunch of dos commands (as copy, start etc) from this Gauss scripts. The problem is that I have never been able to run them in background. The dos window opens and its annoying, you lose control of what you were doing and you have to wait for it to finish. Gauss uses the Gauss commands "shell" or "dos" to open a new shell. Then from there I can run stuff in background as "start /B", but the problem is that the cmd window is open and it gains control. So the question is: how to call a cmd window from Gauss in background?
I think the best you can do is to use execbg to execute the process in the background and use the Windows cmd.exe flag /Min to start the CMD window minimized. Something like this:
execbg("cmd.exe","/c START /MIN mkdir mynewdirname");