From 78685c1b067964a016c2938bf825f4e2b9d504a7 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 15 Jan 2009 01:53:08 +0000 Subject: * symbian/README.SYMBIAN: symbian support added. great appreciate to . git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'process.c') diff --git a/process.c b/process.c index 0f2b55f8c..ba5b298ef 100644 --- a/process.c +++ b/process.c @@ -1097,7 +1097,9 @@ rb_proc_exec(const char *str) exit(status); #else before_exec(); +#ifndef __SYMBIAN32__ execl("/bin/sh", "sh", "-c", str, (char *)NULL); +#endif preserving_errno(after_exec()); #endif return -1; -- cgit