devnul has asked for the wisdom of the Perl Monks concerning the following question:
(where $filename is usually something grabbed from readdir, so it may contain spaces, etc)..open(PIPE, '-|', $somecommand, $arg1, $arg2, ..., $arg(N), $filanem);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pipe, STDERR, STDOUT, and friends
by ikegami (Patriarch) on Sep 21, 2008 at 21:00 UTC | |
|
Re: Pipe, STDERR, STDOUT, and friends
by moritz (Cardinal) on Sep 21, 2008 at 20:26 UTC | |
|
Re: Pipe, STDERR, STDOUT, and friends
by repellent (Priest) on Sep 22, 2008 at 03:22 UTC | |
|
Re: Pipe, STDERR, STDOUT, and friends
by gloryhack (Deacon) on Sep 22, 2008 at 08:04 UTC | |
|
Re: Pipe, STDERR, STDOUT, and friends
by xdg (Monsignor) on Sep 22, 2008 at 12:36 UTC | |
|
Re: Pipe, STDERR, STDOUT, and friends
by Anonymous Monk on Sep 21, 2008 at 20:29 UTC |