[SOLVED] Issue launching script after uTorrent dl completes
Posted: Sun Jan 22, 2012 7:04 pm
I'm still on F12. I have not been granted access to the beta program so I am not using the Amahi add-on. This isn't an Amahi issue which is why I chose the general discussion area. I have posted in the uTorrent forum but people there aren't very helpful. They are just sending me to the perl sites. It's not a perl issue...my script works. Everyone here is so knowledgeable and helpful that I thought it may be worth a shot. If this is in the wrong area, please move it. If anyone knows where I may better be helped, please tell me. All of that being said, here we go:
All I am trying to do is run a perl script when a download completes in uTorrent. The following is what needs to run:
I have tried each of the following in the 'run program' box in uTorrent:
The script itself works fine. I can type either of these at the command line:
It launches and does exactly what it's supposed to.
Launching uTorrent from the command line to monitor the output, it looks like the script is being launched:
But it doesn't actually run. The script outputs to a log file and there is nothing there after it's supposedly executed from uTorrent. Maybe it isn't uTorrent itself. Maybe a permissions issue? If uTorrent is launched as root, would the perl script be launched that way also? Though if I run the script without elevated privileges, it still works fine so I'm not sure why it would matter.
If anyone can help, it would be greatly appreciated as I am at wits end here. Thanks in advance!
All I am trying to do is run a perl script when a download completes in uTorrent. The following is what needs to run:
Code: Select all
/home/user/Desktop/Scripts/myscript.pl
Code: Select all
/home/user/Desktop/Scripts/myscript.pl
perl /home/user/Desktop/Scripts/myscript.pl
/usr/bin/perl /home/user/Desktop/Scripts/myscript.pl
"/usr/bin/perl /home/user/Desktop/Scripts/myscript.pl"
/usr/bin/perl "/home/user/Desktop/Scripts/myscript.pl"
Code: Select all
perl /home/user/Desktop/Scripts/myscript.pl
/usr/bin/perl /home/user/Desktop/Scripts/myscript.pl
Launching uTorrent from the command line to monitor the output, it looks like the script is being launched:
Code: Select all
Executing: /usr/bin/perl /home/user/Desktop/Scripts/myscript.pl
If anyone can help, it would be greatly appreciated as I am at wits end here. Thanks in advance!