in reply to Re: Semicolon behaviour in system call
in thread Semicolon behaviour in system call
Indeed... but what's the equivalent in a system call?
In any case, the testcase using 'echo' was simply to demonstrate the problem; it reproduces in any variety of ways, e.g.
cd C:\temp perl -e 'system("pwd; pwd");'
results in
pwd [-LP] [-d path]
in other words, a usage error... but *nix/MKS perl produces:
c:/temp c:/temp
I guess, in summary, what I'm asking is how a multi-command system call is made with standard Windows PERL distribs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Semicolon behaviour in system call
by ikegami (Patriarch) on Mar 27, 2014 at 19:50 UTC | |
by casual_prgmr (Initiate) on Mar 28, 2014 at 18:16 UTC | |
|
Re^3: Semicolon behaviour in system call
by kcott (Archbishop) on Mar 27, 2014 at 19:33 UTC | |
by casual_prgmr (Initiate) on Mar 28, 2014 at 17:34 UTC | |
by ikegami (Patriarch) on Mar 28, 2014 at 17:42 UTC |