TechLife Posted January 22, 2012 Report Share Posted January 22, 2012 As the title implies, I am trying to run a perl script after a download completes. (I'm on Fedora 12). The following is what needs to run:/home/user/Desktop/Scripts/myscript.plI have tried each of the following:/home/user/Desktop/Scripts/myscript.plperl /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"None of them work. I really need to get this working. If you have any ideas, please, I'd love to hear them and give it a shot.Thanks in advance! Link to comment Share on other sites More sharing options...
WLS Posted January 22, 2012 Report Share Posted January 22, 2012 Doesn't look like an issue with uTorrent to me.Have you tried?http://www.perl.org/community.html Link to comment Share on other sites More sharing options...
TechLife Posted January 22, 2012 Author Report Share Posted January 22, 2012 Thank you for the reply. The script itself works fine. I can type either of these at the command line:perl /home/user/Desktop/Scripts/myscript.pl/usr/bin/perl /home/user/Desktop/Scripts/myscript.plIt launches and does exactly what it's supposed to.I restarted from the command line to monitor the output and it looks like the script is being launched:Executing: /usr/bin/perl /home/user/Desktop/Scripts/myscript.plBut it doesn't actually run. The script outputs to a log file and there is nothing there after it's supposedly executed from uTorrent. uTorrent clearly isn't launching the script correctly for some reason. 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. Link to comment Share on other sites More sharing options...
TechLife Posted January 25, 2012 Author Report Share Posted January 25, 2012 I got it going...http://forums.fedoraforum.org/showthread.php?t=275599 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.