clean
This commit is contained in:
parent
456cc668c9
commit
eec9408a4b
1 changed files with 6 additions and 4 deletions
10
novnc.py
10
novnc.py
|
@ -18,9 +18,11 @@ def spawn(target, options):
|
|||
c_option = '--{} {} '.format(key, value)
|
||||
a_options += c_option
|
||||
|
||||
command_line = 'python3 runwebsockify.py ' + a_options + vnctarget
|
||||
args = shlex.split(command_line)
|
||||
p = subprocess.Popen(args)
|
||||
print('spawn!')
|
||||
try:
|
||||
command_line = 'python3 runwebsockify.py ' + a_options + vnctarget
|
||||
args = shlex.split(command_line)
|
||||
p = subprocess.Popen(args)
|
||||
print('spawned!')
|
||||
|
||||
:w
|
||||
|
||||
|
|
Loading…
Reference in a new issue