Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: fork and spoon

by Illuminatus (Curate)
on Apr 03, 2011 at 00:44 UTC ( #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
Node Status?
node history
Node Type: note [id://897131]
help
Chatterbox?
[Corion]: ambrus: Sorry for running out on you yesterday regarding the HTTP module discussion
[Corion]: I hope I'll find time to turn my quest(ion) into a SoPW ;)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2016-12-08 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (139 votes). Check out past polls.