in reply to Re^2: system and wildcard expansion?
in thread system and wildcard expansion?
It turns out that (on windows) it only does that if it "detects shell meta chars"From system:
If there is only one scalar argument, the argument is checked for shell metacharacters, and if there are any, the entire argument is passed to the system's command shell for parsing (this is "/bin/sh -c" on Unix platforms, but varies on other platforms). If there are no shell metacharacters in the argument, it is split into words and passed directly to "execvp", which is more efficient.
Hence, nothing Windows-specific going on in this respect (except that the set of metacharacters differs between Windows and *nix).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: system and wildcard expansion?
by BrowserUk (Patriarch) on Nov 12, 2010 at 09:43 UTC | |
by rovf (Priest) on Nov 12, 2010 at 11:16 UTC | |
by BrowserUk (Patriarch) on Nov 12, 2010 at 11:40 UTC | |
by rovf (Priest) on Nov 12, 2010 at 11:49 UTC | |
by BrowserUk (Patriarch) on Nov 12, 2010 at 11:54 UTC | |
|