From ea7bce9563dfc51a604fe8f65606959e3d08e577 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 12 Dec 2011 00:24:44 +0000 Subject: [PATCH] --- MagickCore/utility.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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) -- 2.50.1