summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/process.c b/process.c
index b7adec4..004a351 100644
--- a/process.c
+++ b/process.c
@@ -1257,6 +1257,12 @@ rb_f_fork(obj)
int pid;
rb_secure(2);
+
+#ifndef __VMS
+ fflush(stdout);
+ fflush(stderr);
+#endif
+
switch (pid = fork()) {
case 0:
#ifdef linux