How to execute the quietRun mininet function with a sudo command in call?

196 Views Asked by At

How could I execute the quietRun mininet function with a sudo command in the call? I want to execute a tcpdump command in my python/mininet program

(quietRun('sudo tcpdump -i any -w example.pcap')).

Error message:

sudo: tcpdump -i any -w example.pcap&: command not found
0

There are 0 best solutions below