Hi,

Given a command execution like "cmd := exec.CommandContext(ctx, "go", 
"run", file)" playground reports the following error:

child error: exec: "go": executable file not found in $PATH


Could it be solved by specifying a full path for 'go', which path shall I 
use? Thanks a lot.

https://play.golang.org/p/6b79TLLCzfP

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/30f33420-47d9-4fe7-8e39-980f8d5370db%40googlegroups.com.

Reply via email to