mirror of
https://github.com/romanz/amodem.git
synced 2026-02-24 16:18:12 +08:00
main: remove unneeded use_shell parameter
This commit is contained in:
@@ -131,9 +131,7 @@ def run_agent(client_factory):
|
||||
handler = protocol.Handler(keys=public_keys, signer=signer,
|
||||
debug=args.debug)
|
||||
with server.serve(handler=handler, timeout=args.timeout) as env:
|
||||
return server.run_process(command=command,
|
||||
environ=env,
|
||||
use_shell=use_shell)
|
||||
return server.run_process(command=command, environ=env)
|
||||
except KeyboardInterrupt:
|
||||
log.info('server stopped')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user