DIGIT-ARC read-only archive · snapshot: July 23, 2026

pipeline in c++

8 posts · originally from https://geek.digit.in/community/threads/pipeline-in-c.85808/

romeo_8693
romeo_8693 Original post #1
Apr 19, 2008 at 7:27 PM
guys anyone knows how to pipeline programs in c++?in other words call another prog fron one(exe only)
QwertyManiac
Apr 19, 2008 at 9:28 PM
I don't get you, what do you mean by pipeline here, run another process along with a running one? Use threads for that purpose?
Faun
Faun #3
Apr 19, 2008 at 9:36 PM
Ipc ?
Sykora
Sykora #4
Apr 19, 2008 at 10:57 PM
in other words call another prog fron one(exe only)

If you just want to execute one program from inside another, use the system() call.
romeo_8693
Apr 26, 2008 at 3:50 PM
Auto Gordian Knot is best example of what i want to say....it calls several other progs one after another.i want something like that...say i want to start winamp from my prog how would i do it?


As for using system() is it through "cmd"?
QwertyManiac
Apr 26, 2008 at 7:54 PM
One after another is easy. Yes, use system() call, system("command -args")

Where command can of course, be any executable on Windows. Even Winamp, just give the full path to it.
Ishan
Ishan #7
Apr 30, 2008 at 7:42 AM
system(call thatfile.exe)
romeo_8693
Apr 30, 2008 at 11:11 AM
ok....thanks a lot...