]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 12 Dec 2011 00:24:44 +0000 (00:24 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 12 Dec 2011 00:24:44 +0000 (00:24 +0000)
MagickCore/utility.c

index 0cfd9b26ba527665e44ab80b5ee79948306e141b..aad7f7552734f5693cd1929e2aa78a86d720b2ad 100644 (file)
@@ -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)