summaryrefslogtreecommitdiff
path: root/graphics/asymptote/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/util.cc')
-rw-r--r--graphics/asymptote/util.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/asymptote/util.cc b/graphics/asymptote/util.cc
index 85e9320cfd..df33e29bff 100644
--- a/graphics/asymptote/util.cc
+++ b/graphics/asymptote/util.cc
@@ -288,6 +288,10 @@ int System(const mem::vector<string> &command, int quiet, bool wait,
if(pid == -1)
camp::reportError("Cannot fork process");
+#ifdef __MSDOS__
+ wait=true;
+#endif
+
if(pid == 0) {
if(interact::interactive) signal(SIGINT,SIG_IGN);
if(quiet) {