Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: fork and spoon

by Illuminatus (Curate)
on Apr 03, 2011 at 00:44 UTC ( [id://897131]=note: print w/replies, xml ) Need Help??


in reply to fork and spoon

The first thing you are doing wrong is not posting the code (ie the manager, or at least the part that is running the updater) that is not working :). Without seeing what you are doing in the code that is not working, it is very hard to diagnose. I can't tell what you are actually calling in the backticks or system(), whether it is hanging where you think it is hanging, etc.

fnord

Replies are listed 'Best First'.
Re^2: fork and spoon
by Sly_G (Novice) on Apr 03, 2011 at 13:55 UTC
    It's pretty straightforward. Variations that I tried are:
    system("update.pl &"); system("update.pl"); `update.pl &` `update.pl`
    And update.pl is -rwxr-xr-x and it starts OK from bash shell.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-26 01:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found