You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
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
Jan Mercl
unread,
Oct 16, 2018, 11:02:37 AM10/16/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mirko Friedenhagen, golang-nuts
On Tue, Oct 16, 2018 at 4:14 PM Mirko Friedenhagen <mfried...@gmx.de> wrote:
> Is it OK to just call something like `syscall.Exec("/bin/bash", args, os.Environ())`