Sergio Neskodi

Results 2 comments of Sergio Neskodi

> I was playing around with this and found a way to work around this sorta: > > ``` > $ssh->exec('nohup sleep 10 > /dev/null 2>&1 &') > ``` Putting...

Just in case, the following way of setting a timeout will also work perfectly with `sleep`: `$ssh->exec('timeout 5 sleep 10');` As you can see, it relies on having the `timeout`...