Hi cdarke,
I've already added those to both of my programs, but the trick didn't work.
More details: my Perl script is running under mod_perl2, what the script do, is accepting C source code uploading
and compile & run it on-the-fly, send the input to the generated executable through ``$in'' and grab the output via ``$out''.
The only problem I have is I can't get the output without the "\n", so I was wondering if there's a way to do it.
To Khen1950fx, thanks for the response.
I've submitted my reply many times but failed in this afternoon...
In reply to Re^2: Get output after running IPC::Run
by pid
in thread Get output after running IPC::Run
by pid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |