On Fri, Dec 20, 2013 at 09:34:36AM -0800, Gurucharan Shetty wrote:
> According to Python documentation here for execvp:
> http://docs.python.org/2/library/os.html
> "The current process is replaced immediately. Open file objects
> and descriptors are not flushed, so if there may be data buffered
> on these open files, you should flush them using sys.stdout.flush()
> or os.fsync() before calling an exec* function.
> 
> Without the flush, we will miss the print statements before that
> if we redirect the o/p to a file.
> 
> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>

Acked-by: Ben Pfaff <b...@nicira.com>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to