in reply to Re^2: system() does not wait for terminal.exe to complete executing on Windows
in thread system() does not wait for terminal.exe to complete executing on Windows

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.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"
  • Comment on Re^3: system() does not wait for terminal.exe to complete executing on Windows