Closed vdamle closed 6 years ago
@vdamle this is problematic as we will not know the PID of the geth process since bash -c
forks the execution.
I'll take a swing at this
No, the PID an be retrieved without any problem. I tested this in my local CI env, here is another example:
Users-MacBook-Pro:tmp vdamle$ sh -c "sleep 100" &
[1] 76909
Users-MacBook-Pro:tmp vdamle$ pid=$!
Users-MacBook-Pro:tmp vdamle$ echo $pid
76909
changes for cors broke wildcard arguments to wsorigin/cors etc. restore the method to pass command and args as string to shell