Fix hang on exec during non-interactive runs
Fix hang on exec during non-interactive runs

Signed-off-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>

akshaykarle/lxd,rrva/lxd,stgraber/lxd,pcdummy/lxd,chrisglass/lxd,beni55/lxd,erikmack/lxd,stgraber/lxd,dvbportal/osx-lxd,dvbportal/osx-lxd,chrisglass/lxd,hallyn/lxd,smoser/lxd,jumpstarter-io/lxd,mikemccracken/lxd,lxc/lxd,sl1pm4t/lxd,benaryorg/lxd,pcdummy/lxd,smoser/lxd,jensg-st/lxd,stgraber/lxd,jumpstarter-io/lxd,georghopp/lxd,mjeanson/lxd,jumpstarter-io/lxd,rcj4747/lxd,atxwebs/lxd,sl1pm4t/lxd,sl1pm4t/lxd,ericsnowcurrently/lxd,mikemccracken/lxd,chrisglass/lxd,akshaykarle/lxd,basvanbeek/lxd,stgraber/lxd,basvanbeek/lxd,jsavikko/lxd,mjeanson/lxd,achanda/lxd,atxwebs/lxd,lxc/lxd,lxc/lxd,lxc/lxd,jsavikko/lxd,Skarlso/lxd,dustinkirkland/lxd,rcj4747/lxd,benaryorg/lxd,erikmack/lxd,yura-pakhuchiy/lxd,akshaykarle/lxd,techtonik/lxd,dustinkirkland/lxd,lxc/lxd,atxwebs/lxd,mjeanson/lxd,Malizor/lxd,Malizor/lxd,ericsnowcurrently/lxd,ollie314/lxd,achanda/lxd,Skarlso/lxd,mikemccracken/lxd,achanda/lxd,ollie314/lxd,hallyn/lxd,techtonik/lxd,erikmack/lxd,hallyn/lxd,stgraber/lxd,rcj4747/lxd,beni55/lxd,Malizor/lxd,rrva/lxd,techtonik/lxd,yura-pakhuchiy/lxd,lxc/lxd,ollie314/lxd,basvanbeek/lxd,hallyn/lxd,hallyn/lxd,jsavikko/lxd,yura-pakhuchiy/lxd,rrva/lxd,dustinkirkland/lxd,ericsnowcurrently/lxd,stgraber/lxd,beni55/lxd,lxc/lxd,atxwebs/lxd,georghopp/lxd,benaryorg/lxd,georghopp/lxd,hallyn/lxd,jensg-st/lxd,Skarlso/lxd,smoser/lxd,jensg-st/lxd,dvbportal/osx-lxd,Skarlso/lxd,stgraber/lxd,pcdummy/lxd