Open ymattw opened 8 years ago
This fixes #112. We do not care about the exit status from child process anyway.
Verified with python 2.7.5.
% ./python2/pyinotify.py -e IN_MODIFY -f /tmp/input.log -c 'sleep 1' & sleep 2; echo hello > /tmp/input.log [1] 30251 <Event dir=False mask=0x2 maskname=IN_MODIFY name='' path=/tmp/input.log pathname=/tmp/input.log wd=1 > <Event dir=False mask=0x2 maskname=IN_MODIFY name='' path=/tmp/input.log pathname=/tmp/input.log wd=1 > % pgrep -lf defunct [no output]
This fixes #112. We do not care about the exit status from child process anyway.
Verified with python 2.7.5.