summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-29 09:48:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-29 09:48:13 +0000
commitd1a8766f801ccbb11126413d1fa4f9bea19b00ba (patch)
tree81717241181cffc13c4e4f8f9858a8aee89c28ea /process.c
parent3bc618e841594c584c915e6986f15ae5456e5914 (diff)
eban's exec patch for cygwin32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@60 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 5a7ce36b47..314d3ea24a 100644
--- a/process.c
+++ b/process.c
@@ -361,7 +361,7 @@ rb_proc_exec(str)
if (state != -1)
exit(state);
#else
-#if defined(__human68k__)
+#if defined(__human68k__) || defined(__CYGWIN32__)
char *shell = dln_find_exe("sh", 0);
int state = -1;
before_exec();