For many years I used the SHELL command, but what happened to me today has something strange, at least for me.
From a program (# 1) I call another program (# 2) with the Shell command. The # 2 program, in turn calls one at a time up to three other programs, again with the SHELL command. I return to the # 1 program at this point. And it is here that the problems begin: when I try to get out of the # 1 program, it will not close and I have to try three or four times, before exiting. Maybe you can not nest multiple SHELL functions? How to solve?
I tried with:
- SHELL "CMD / C MyProgram.exe"
- Pid ??? SHELL = (MyProgram.exe, 1)
- Pid ??? SHELL = (ENVIRON $ ("COMSPEC") & "MyProgram.exe, 1)
From a program (# 1) I call another program (# 2) with the Shell command. The # 2 program, in turn calls one at a time up to three other programs, again with the SHELL command. I return to the # 1 program at this point. And it is here that the problems begin: when I try to get out of the # 1 program, it will not close and I have to try three or four times, before exiting. Maybe you can not nest multiple SHELL functions? How to solve?
I tried with:
- SHELL "CMD / C MyProgram.exe"
- Pid ??? SHELL = (MyProgram.exe, 1)
- Pid ??? SHELL = (ENVIRON $ ("COMSPEC") & "MyProgram.exe, 1)
Comment