Here is what I observed:- I was trying to run a short-cut(to an terminal.exe) with command line parameter in my original code.
Ah! Yes, shortcuts effectively detach their targets and then return. Which explains the behaviour you got.
In reply to Re^3: system() does not wait for terminal.exe to complete executing on Windows
by BrowserUk
in thread system() does not wait for terminal.exe to complete executing on Windows
by spranav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |