From: cristy Date: Mon, 12 Dec 2011 00:24:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6552 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea7bce9563dfc51a604fe8f65606959e3d08e577;p=imagemagick --- diff --git a/MagickCore/utility.c b/MagickCore/utility.c index 0cfd9b26b..aad7f7552 100644 --- a/MagickCore/utility.c +++ b/MagickCore/utility.c @@ -1886,15 +1886,7 @@ MagickExport int SystemCommand(const MagickBooleanType asynchronous, } #endif #elif defined(MAGICKCORE_WINDOWS_SUPPORT) - { - int - mode; - - mode=_P_WAIT; - if (asynchronous != MagickFalse) - mode=_P_NOWAIT; - status=spawnvp(mode,arguments[1],(const char **) (arguments+1)); - } + status=NTSystemCommand(shell_command); #elif defined(macintosh) status=MACSystemCommand(shell_command); #elif defined(vms)