bug修改
This commit is contained in:
1 parent
06be912667
commit
491c6eca7d
2 files changed
+12
-6
No files matched your search
+4
-3
@@ -109,9 +109,10 @@ if __name__ == '__main__':
|
||||
elif len(sys.argv) == 3:
|
||||
pids = sys.argv[1].split(',')
|
||||
for pid in pids:
|
||||
main(pid)
|
||||
if sys.argv[2] == 'lock':
|
||||
main(pid, lock=True)
|
||||
if sys.argv[2] == 'lock':
|
||||
main(pid, lock=True)
|
||||
else:
|
||||
main(pid, lock=False)
|
||||
else:
|
||||
print(f'useage: python {sys.argv[0]} pid1,pid2,pid3 [lock]')
|
||||
sys.exit(1)
|
||||
Reference in new issue
Block a user