Commit d44647c6 authored by Michael Hanus 's avatar Michael Hanus
Browse files

Fix for Curry2Go

parent 4b43c554
......@@ -12,7 +12,7 @@ func ExternalSystem_IOExts_prim_execCmd(task *gocurry.Task){
command := gocurry.ReadString(commandNode)
// create command
cmd := exec.Command(command)
cmd := exec.Command("bash", "-c", command)
// get pipes from command
stdinPipe, err := cmd.StdinPipe()
......@@ -48,8 +48,9 @@ func ExternalSystem_IOExts_prim_connectToCmd(task *gocurry.Task){
commandNode := root.GetChild(0)
command := gocurry.ReadString(commandNode)
// create command
cmd := exec.Command(command)
cmd := exec.Command("bash", "-c", command)
// get pipes from command
stdinPipe, err := cmd.StdinPipe()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment