diff --git a/bin/test_pike.pike b/bin/test_pike.pike
index 1cf9a9560f6ebfe39cb7cecff1f6fbf155a2695b..be45085c1ee80255ba9133f4c64907f4069c5638 100755
--- a/bin/test_pike.pike
+++ b/bin/test_pike.pike
@@ -1,6 +1,6 @@
 #!/usr/local/bin/pike
 
-/* $Id: test_pike.pike,v 1.12 1998/04/16 01:10:40 hubbe Exp $ */
+/* $Id: test_pike.pike,v 1.13 1998/04/17 05:04:49 hubbe Exp $ */
 
 #include <simulate.h>
 
@@ -27,7 +27,7 @@ int main(int argc, string *argv)
 
   string *args=backtrace()[0][3];
   args=args[..sizeof(args)-1-argc];
-  add_constant("RUNPIKE",args*" ");
+  add_constant("RUNPIKE",Array.map(args,Process.sh_quote)*" ");
 
   foreach(Getopt.find_all_options(argv,aggregate(
     ({"help",Getopt.NO_ARG,({"-h","--help"})}),