in reply to Pipe Problem
Not sure if this will help or not, but I had a similar problem a few years ago. On that occasion the progress message included a reference to a filename supplied via the command line. I discovered that by supplying a filename with a whole bunch of trailing spaces, it didn't affect the programs ability to open the file, but when it displayed the message it incorporated the trailing spaces. By adding enough spaces, it cause the pipe buffer to fill and so be output.
It doesn't look from your example that any of the parameters are paths, but if any of them are displayed as part of the progress message, you might try something like:
$data1 = sprintf "./myC.exe 10 10 1 \"abc%s\"", ' ' x 4096;
or even, if the executable name is part of the message:
$data1 = sprintf "%smyC.exe 10 10 1 abc", './' x 2048;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pipe Problem
by Anonymous Monk on Jul 22, 2007 at 22:22 UTC | |
by BrowserUk (Patriarch) on Jul 22, 2007 at 22:43 UTC | |
by Anonymous Monk on Jul 23, 2007 at 01:22 UTC | |
by aquarium (Curate) on Jul 23, 2007 at 02:18 UTC | |
by BrowserUk (Patriarch) on Jul 23, 2007 at 07:44 UTC | |
by Anonymous Monk on Jul 23, 2007 at 02:49 UTC | |
|