This is a discussion on How can I invoke another program or command and trap its output in C? within the C and C++ Programming forums, part of the Software Development category; How can I invoke another program or command and trap its output in C language?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, Unix and some other systems provide a popen() routine, which sets up a stdio stream on a pipe connected to the process running a command, so that the output can be read (or the input supplied). Alternately, invoke the command simply in such a way that it writes its output to a file, then open and read that file Thanks, Prasath.K |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTTP Web Response Exception - I cant able to trap. | prasannavigneshr | Windows Mobile | 27 | 09-19-2007 08:28 AM |
| How to call a program using the command prompt from ASP.NET. Basically all it needs | itbarota | ASP and ASP.NET Programming | 1 | 07-26-2007 12:05 AM |
| How to launch Real Player program through my j2me midlet program? | itbarota | J2ME | 1 | 07-25-2007 11:39 PM |
| when the program is executing,how to stop the program and open the cmd window... | bluesky | C# Programming | 1 | 07-25-2007 05:51 AM |
| How can I invoke another program from C? | Sabari | C and C++ Programming | 1 | 07-17-2007 04:05 AM |