Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^6: exec vs. backtick-and-assign performance

by apotheon (Deacon)
on Nov 13, 2006 at 00:24 UTC ( [id://583616]=note: print w/replies, xml ) Need Help??


in reply to Re^5: exec vs. backtick-and-assign performance
in thread exec vs. backtick-and-assign performance

"It may be that the command is checking slowed down / confused by the capturing of it's STDOUT. it might be looking for a tty or something similar."
I guess that's the best idea I've heard so far for why it might behave like that. Anyone here know if restarting networking in Debian involves some kind of tty checking?

print substr("Just another Perl hacker", 0, -2);
- apotheon
CopyWrite Chad Perrin

  • Comment on Re^6: exec vs. backtick-and-assign performance

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://583616]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 13:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found