jumpserver/run_server.py

12 lines
220 B
Python

#!/usr/bin/env python3
# coding: utf-8
import sys
import subprocess
if __name__ == '__main__':
kwargs = dict(shell=True, stdin=sys.stdin, stdout=sys.stdout)
subprocess.call('python3 jms start all', **kwargs)