Hello everybody,

I am on my way to replace a Python script which writes several 
configuration files before replacing itself with another program (e.g. 
bash). For that I use https://docs.python.org/3/library/os.html#os.execv.

Is there any equivalent in Golang? I do not use any fancy go routines in 
the script, the only output are some log lines. Is it OK to just call 
something like `syscall.Exec("/bin/bash", args, os.Environ())`

Regards
Mirko

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to