def _handle_shell ( self , cfg_file , * args , * * options ) : args = ( "--interactive" , ) + args return supervisorctl . main ( ( "-c" , cfg_file ) + args )
run python file supervisorctl
Command supervisord shell runs the interactive command shell .
def _handle_shell(self,cfg_file,*args,**options):
        """Command 'supervisord shell' runs the interactive command shell."""
        args = ("--interactive",) + args
        return supervisorctl.main(("-c",cfg_file) + args)