Discussion:
[Deluge] #3195: Execute Plugin will not start another batch file on Windows
Deluge
2018-08-10 18:15:36 UTC
Permalink
#3195: Execute Plugin will not start another batch file on Windows
-------------------------+----------------------------
Reporter: Philoufelin | Owner:
Type: bug | Status: new
Priority: major | Milestone: needs verified
Component: Plugin | Version: 1.3.15
Keywords: |
-------------------------+----------------------------
When using execute plugin and having this batch file:
Test2.bat


{{{
@echo off

set torrentid=%1
set torrentname=%2
set torrentpath=%3

Test3.bat %torrentid% %torrentname% %torrentpath% "false"
}}}


The execute plugin will never execute the last instruction (aka calling
the Test3.bat file)

The content of the Test3.bat file is:


{{{
@echo off
set torrentid=%1
set torrentname=%2
set torrentpath=%3

echo Hash du torrent: %torrentid%
echo Nom du torrent: %torrentname%
echo Path du torrent: %torrentpath%
echo Supprimer torrent: %4

@echo Torrent Details: %torrentname% %torrentpath% %torrentid% %4 >>
"%userprofile%\Desktop\execute_script2.log"
}}}


When executing manually Test2.bat with some parameters, it works very well
and it calls the Test3.bat file. But when executing Test2.bat with
"Execute" Deluge plugin, it is not working.

The reason why I'm trying to do this, is because when configuring execute
plugin in Deluge, it is not possible to provide extra parameters to our
script.

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3195>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups "Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to deluge-dev+***@googlegroups.com.
To post to this group, send email to deluge-***@googlegroups.com.
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...