[go-nuts] Is os.exec thread safe ?

2016-10-25 Thread Dave Cheney
os.Exec is thread safe.

-- 
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.


[go-nuts] Is os.exec thread safe ?

2016-10-25 Thread Jianjun Mao
Hi all,

I have a HTTP job server which will receive jobs and start them at 
background in another go routine.
A job may run many external commands (e.g. ethtool, supervisorctl ...).
But my server may hang after running a few hours. The server has no log 
output and can't receive any HTTP request.
I have searched a lot, but can only find this 
https://github.com/golang/go/issues/11155.
So my question is that, is os.exec thread safe ? Will it block the 
scheduler ?

-- 
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.