From: rgs@... Date: 2012-08-24T13:04:20+09:00 Subject: Is calling system() from a thread suppose to be safe? Hey there, I am calling system() from a thread and getting: `system': no implicit conversion from nil to integer (TypeError) from wifi-state-observer:169:in `vpn_down' from wifi-state-observer:46:in `block in run' from wifi-state-observer:54:in `call' from wifi-state-observer:54:in `run' from wifi-state-observer:54:in `run' from wifi-state-observer:270:in `
' Looking at Ruby's source: https://github.com/ruby/ruby/blob/trunk/process.c#L3673 it seems like rb_last_status_get() might be non-thread safe? Though I would expect at that time the GVL would held so I am not sure why would rb_last_status_get() return nil. This is running 1.9.3. Any ideas? - rgs