Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: system() peformance ..

Thread Tools

Re: system() peformance ..

Simon Biber
Posts: n/a
"Paras Sharma" <(E-Mail Removed)> wrote:
> Main overservation is - System comsumes lot of time

The usual implementation of system is to load a command
interpreter program, pass it the string you gave, then
the command interpreter program must parse the string
and then perform whatever action you specified, such as
loading another program. All this loading and running
new programs often does take quite a long time.

You may find an non-portable implementation defined way
that eliminates the command interpreter stage and starts
your target program directly. That would be off-topic
for comp.lang.c or comp.lang.c++.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool for Peformance Analysis of C++ code ... =?ISO-8859-1?Q?Konrad_M=FChler?= C++ 2 04-26-2007 02:52 PM
AspNet Process Memory Issue on Win2k Server - Peformance is fine - Memory usuage doesn't stop growing Cy Huckaba ASP .Net 1 06-26-2003 04:00 AM
Re: system() peformance .. Simon Biber C Programming 0 06-26-2003 02:25 AM
Re: system() peformance .. Jack Klein C++ 0 06-25-2003 03:20 PM
Re: system() peformance .. Jack Klein C Programming 0 06-25-2003 03:20 PM