Closed AndreeaPocol closed 2 years ago
You're running the "py" component, which makes it interactive. But then you're not running it interactively, so it has no stdin, so it shuts down.
Just remove the "py" from your command line.
As a sidenote, you may be interested in the misc.pidfile component, which can make it easier to kill later.
The other py in your commandline. :) The one following --verbose. That's the one which runs the "py" component.
It just hit me haha! I'll try that, thanks.
I'm conducting research using Mininet and the POX controller running locally in the same VM. To this end, I'm trying to launch the POX controller as a background process from a Bash script but the controller just shuts down as soon as I launch it this way.
For troubleshooting purposes, I was able to reproduce the issue using the following simple Bash script.
I run:
The output I get is:
How can I successfully launch the POX controller and keep it running until I'm ready to kill it?
Thank you.