From e65ef0947edbf8e7458abfece61675294c451c2d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Wed, 24 Sep 2003 22:14:39 +0200
Subject: [PATCH] Process.Process() now knows about the second argument to
 split_quoted_string().

Rev: lib/modules/Process.pmod:1.43
---
 lib/modules/Process.pmod | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/lib/modules/Process.pmod b/lib/modules/Process.pmod
index 37c1f023f2..1feee7ffed 100644
--- a/lib/modules/Process.pmod
+++ b/lib/modules/Process.pmod
@@ -17,9 +17,10 @@ class Process
 
   //! @param args
   //!   Either a command line array, as the command_args
-  //!   argument to @[create_process], or a string that
+  //!   argument to @[create_process()], or a string that
   //!   will be splitted into a command line array by
-  //!   calling @[split_quoted_string].
+  //!   calling @[split_quoted_string()] in an operating
+  //!   system dependant mode.
   //! @param m
   //!   In addition to the modifiers that @[create_process] accepts,
   //!   this object also accepts
@@ -37,9 +38,13 @@ class Process
   //!   @[create_process], @[split_quoted_string]
   static void create( string|array(string) args, void|mapping(string:mixed) m )
   {
-    if( stringp( args ) )
-      args = split_quoted_string( [string]args );
-
+    if( stringp( args ) ) {
+      args = split_quoted_string( [string]args
+#ifdef __NT__
+				  ,1
+#endif /* __NT__ */
+				  );
+    }
     if( m )
       ::create( [array(string)]args, [mapping(string:mixed)]m );
     else
-- 
GitLab