when a python script is executed inside a python script, i donot get the complete output : when a python script is executed inside a python script, i donot get the complete output.

os.system('python -u capture.py > capture.log &')

where capture.py will capture the packets and feeds this to capture.log.

Capture.py will keep sending packets every 100 sec. I couldnt see the complete output in to the file. Only the initial captures are put to capture.log.
Becos capture.py does nt capture any packets after somtime. But when "python -u" executed on bash prompt it work. Pleas help

