Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _start(self):
cmd = "%s %s" % (self.command, self.options)
if self._remote_opts:
self._start_remote()
else:
self._process = aexpect.run_tail(
command=cmd,
output_func=self._output_logger_handler)