Bitmap/Read an image through a pipe: Difference between revisions
Content added Content deleted
m (→{{header|Phix}}: stdout) |
|||
Line 350: | Line 350: | ||
pipes[PIPOUT] = create_pipe(INHERIT_READ) |
pipes[PIPOUT] = create_pipe(INHERIT_READ) |
||
-- Create the child process, with replacement |
-- Create the child process, with replacement stdout. |
||
string cmd = sprintf("%s viewppm -load test.jpg",{get_interpreter(true)}) |
string cmd = sprintf("%s viewppm -load test.jpg",{get_interpreter(true)}) |
||
atom hProc = system_exec(cmd, 12, pipes), |
atom hProc = system_exec(cmd, 12, pipes), |