aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ell/ell.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ell/ell.go b/ell/ell.go
index 9c04b2e..84d1bc3 100644
--- a/ell/ell.go
+++ b/ell/ell.go
@@ -958,6 +958,9 @@ func fnSystem(ell *Ell, args *V, result **V) bool {
}
cmd := exec.Command(argv[0], argv[1:]...)
+ cmd.Stdin = os.Stdin
+ cmd.Stdout = os.Stdout
+ cmd.Stderr = os.Stderr
// Approximation of system(3) return value to match C ell at least a bit.
if err := cmd.Run(); err == nil {