By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,897 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,897 IT Pros & Developers. It's quick & easy.

problem on hiding console window

P: n/a
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

Nov 7 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
shuisheng wrote:
Would you please give me a hint on how to hide the console window
opened by _popen?
You must post to a newsgroup that supports your compiler. This newsgroup is
only qualified to discuss the raw C++ language itself, not its interactions
with all the various windowing systems out there.

Under the wild guess you use Win32, try news:microsoft.public.vc.language .

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Nov 7 '06 #2

P: n/a
shuisheng wrote:
Would you please give me a hint on how to hide the console window
opened by _popen?
What's "the console window"? I can't find any definition of it in
the C++ language standard. What's "_popen"? Not defined either.

Are you sure you're in the right newsgroup?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Nov 7 '06 #3

P: n/a
shuisheng wrote:
Dear All,

Would you please give me a hint on how to hide the console window
opened by _popen?

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Nov 7 '06 #4

P: n/a


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.

Nov 7 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.