Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[mininet-discuss] How to redirect the ouput of a process to mininet cli.

Philip Wette wette at
Mon Apr 21 05:56:12 PDT 2014

You can redirect stdout and stderr to a file exactly in the way you would do that in bash, too. 

Just add  "> /tmp/output 2>&1" to your function call. 

Von meinem iPhone gesendet

> Am 21.04.2014 um 14:49 schrieb Shiyao Ma <i at>:
> Hi.
> Mininet can start a process and not wait it by Node.sendCmd. But this loses all the stdout of that process and more importantly the stderr, which quite critic when writing a python script.
> I wonder is there any sendCmd like thing but also outputs the stderr and stdout of the launched process to CLI(Mininet) or a certain file.
> Thanks.
> -- 
> 吾輩は猫である。ホームーページは。
> _______________________________________________
> mininet-discuss mailing list
> mininet-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the mininet-discuss mailing list