Update shell_execute.py

This commit is contained in:
qiaofeng1227 2023-03-24 12:10:32 +08:00 committed by GitHub
parent d730c4f789
commit 115eff13e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,6 @@ def convert_command(cmd_str):
if cmd_str == "":
convert_cmd=cmd_str
else:
convert_cmd="f'nsenter -m -u -i -n -p -t 1 sh -c " +cmd_str
convert_cmd="f nsenter -m -u -i -n -p -t 1 sh -c " +cmd_str
return convert_cmd