Re: [Qemu-devel] [PATCH 3/5] qga: guest exec functionality

2015-10-05 Thread Yuri Pudgorodskiy
On 10/2/2015 1:59 AM, Michael Roth wrote: +# +# Since: 2.5 +## +{ 'command': 'guest-exec', + 'data':{ 'path': 'str', '*arg': ['str'], '*env': ['str'], + '*inp-data': 'str', '*capture-output': 'bool' }, + 'returns': 'GuestExec' } Would it make sense to just add handle (pid) to

Re: [Qemu-devel] [PATCH 3/5] qga: guest exec functionality

2015-10-01 Thread Michael Roth
Quoting Denis V. Lunev (2015-10-01 02:38:01) > From: Yuri Pudgorodskiy > > Guest-exec rewriten in platform-independant style with glib spawn. > > Child process is spawn asynchroneously and exit status can later > be picked up by guest-exec-status command. > > stdin/stdout/stderr of the child no

[Qemu-devel] [PATCH 3/5] qga: guest exec functionality

2015-10-01 Thread Denis V. Lunev
From: Yuri Pudgorodskiy Guest-exec rewriten in platform-independant style with glib spawn. Child process is spawn asynchroneously and exit status can later be picked up by guest-exec-status command. stdin/stdout/stderr of the child now is redirected to /dev/null Later we will add ability to spe