YuckFoo has asked for the wisdom of the Perl Monks concerning the following question:
OpenFoo
This is perl, v5.6.0 built for i386-linux
Update: Thanks guys, I didn't think that quote (') was a shell metacharacter and it's not listed in the bash manpage as one.#!/usr/bin/perl open (CMD, '-|', "boguscommand 'filename'") or die "Uh-oh $!"; print "Oops, I didn't die\n"; open (CMD, '-|', "boguscommand filename") or die "Uh-oh $!"; print "But I did\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: open won't die
by Abigail-II (Bishop) on Oct 28, 2003 at 22:17 UTC | |
|
Re: open won't die
by sauoq (Abbot) on Oct 28, 2003 at 22:19 UTC | |
|
Re: open won't die
by graff (Chancellor) on Oct 28, 2003 at 23:32 UTC | |
by YuckFoo (Abbot) on Oct 28, 2003 at 23:45 UTC | |
by Abigail-II (Bishop) on Oct 29, 2003 at 00:46 UTC | |
|
Re: open won't die
by YuckFoo (Abbot) on Oct 29, 2003 at 19:13 UTC |