summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-16 17:00:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-16 17:00:19 +0900
commita8714b83c40c8736b4ddafef08fa5f0091c9b101 (patch)
tree2faa2d2c4f1772907155df16a804b01618cd3348 /process.c
parent07b12a1f4829ca3c7d60d56bb5c89069f0758d4c (diff)
`popen()` is not available on emscripten
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4745
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 22fa8bd15c..d9853e5a95 100644
--- a/process.c
+++ b/process.c
@@ -4536,7 +4536,7 @@ rb_syswait(rb_pid_t pid)
rb_waitpid(pid, &status, 0);
}
-#if !defined HAVE_WORKING_FORK && !defined HAVE_SPAWNV
+#if !defined HAVE_WORKING_FORK && !defined HAVE_SPAWNV && !defined __EMSCRIPTEN__
char *
rb_execarg_commandline(const struct rb_execarg *eargp, VALUE *prog)
{