Page 1 of 1

Can I run a perl script directly from deluge on complete?

Posted: Fri Oct 31, 2014 12:26 am
by 10481
I've tried inputting the file location into execute plugin, but it doesn't work. I know the script works because I can run it manually.

Re: Can I run a perl script directly from deluge on complete

Posted: Fri Oct 31, 2014 9:50 am
by Cas
Make sure your script has the hashbang line, is executable and _only_ put the script path in execute plugin.

Re: Can I run a perl script directly from deluge on complete

Posted: Fri Oct 31, 2014 4:24 pm
by 10481
Cas wrote:Make sure your script has the hashbang line, is executable and _only_ put the script path in execute plugin.
Thanks for the reply. I noticed that python was supported in the documentation, so I just wrote a python script calling the perl script. It works ok now.

Re: Can I run a perl script directly from deluge on complete

Posted: Sat Nov 01, 2014 10:40 am
by Cas
That's just silly. The execute plugin has no notion of the type of script, if a script can be run standalone (i.e. without prefixing with explicit command: ./myscript.pl) then it can be run by execute.

Re: Can I run a perl script directly from deluge on complete

Posted: Sat Nov 01, 2014 4:56 pm
by 10481
Silly works. I was able to execute the script directly from Transmission, but not from Deluge.

Re: Can I run a perl script directly from deluge on complete

Posted: Sat Nov 01, 2014 8:16 pm
by Cas