On Nov 7, 4:07 pm, "shuisheng" <shuishen...@yahoo.comwrote:
Dear All,
Would you please give me a hint on how to hide the console window
opened by _popen?
I appreciate your kind help!
Shuisheng
This is not a standard language feature. _popen is not standard C++.
On UNIX systems (which includes Linux) you can run a process in the
background by putting a & character after the command name.
I think on Windows there's a "ShellExecute" option which will cause no
console window to appear.
Clearly you'll need to redirect standard output (if any is produced) in
either case.
You should check the newsgroups relating to the appropriate operating
systems.