mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
(libT) #4633 fix win32 regression introduced in r13752.
This commit is contained in:
parent
10b96f0f12
commit
9a70ffb4ee
1 changed files with 1 additions and 1 deletions
|
@ -1988,7 +1988,7 @@ torrentCallScript (const tr_torrent * tor, const char * script)
|
|||
tr_torinf (tor, "Calling script \"%s\"", script);
|
||||
|
||||
#ifdef WIN32
|
||||
if (spawnvpe (_P_NOWAIT, script, (const char*)cmd, env) == -1)
|
||||
if (_spawnvpe (_P_NOWAIT, script, (const char*)cmd, env) == -1)
|
||||
tr_torerr (tor, "error executing script \"%s\": %s", cmd[0], tr_strerror (errno));
|
||||
#else
|
||||
signal (SIGCHLD, onSigCHLD);
|
||||
|
|
Loading…
Reference in a new issue