diff options
| author | Kris Alder <kalder@google.com> | 2022-04-11 12:46:08 -0700 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-04-12 19:32:41 +0200 |
| commit | 836cb64fc13ff219558226d42d06918171f975b2 (patch) | |
| tree | 03a7b412ad20bb166013aa693bb2fecc14d3db95 /executor/common_linux.h | |
| parent | 87d46b64e1389c842869fae9199221565d6f65d2 (diff) | |
vm/cuttlefish: use nohup with socat to forward port
'nohup' allows us to let the process run after a timeout. We can check
the error message we get back from the command to see if it was
vmimpl.ErrTimeout and ignore it for commands we expect to continue
running in the background. We have to remove the wrapping of the error
with fmt.Errorf to do this comparison.
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
