summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/process.c b/process.c
index 0f2b55f8c7..ba5b298ef1 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;