Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: Non-shell-invoking system/exec and qx//

by almut (Canon)
on Jun 18, 2008 at 15:52 UTC ( #692731=note: print w/replies, xml ) Need Help??

in reply to Re: Non-shell-invoking system/exec and qx//
in thread Non-shell-invoking system/exec and qx//

... You're still using the shell though.

Don't think so (at least not on Unix).  For example:

$ strace -fq -eexecve perl -e 'system "/bin/echo", "foo"' execve("/usr/local/bin/perl", ["perl", "-e", "system \"/bin/echo\", \" +foo\""], [/* 71 vars */]) = 0 [pid 27279] execve("/bin/echo", ["/bin/echo", "foo"], [/* 71 vars */]) + = 0

So, no shell involved...

Replies are listed 'Best First'.
Re^3: Non-shell-invoking system/exec and qx//
by BrowserUk (Pope) on Jun 18, 2008 at 16:16 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://692731]
[LanX]: unusual that "Pimp my Bride" never made it into TV (?)
LanX sighs ... no idea stupid enough
[choroba]: "Smack My Bitch Up" did, though
[Eily]: that's the internet for you LanX
[Eily]: and I'm pretty sure there's a rule somewhere that states that the stupider the idea, the more likely it is to already have been done

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2017-03-27 15:18 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (320 votes). Check out past polls.