mirror of
https://github.com/DualCoder/vgpu_unlock.git
synced 2024-05-20 04:02:57 +12:00
Allow args to be passed
This commit is contained in:
parent
2294da3d17
commit
b7e509d524
|
@ -249,7 +249,7 @@ def main():
|
|||
exit()
|
||||
|
||||
device.on("child-added", on_child_added)
|
||||
pid = device.spawn(sys.argv[2])
|
||||
pid = device.spawn(["/bin/bash", "-c", ' '.join(sys.argv[2:])])
|
||||
instrument(pid)
|
||||
|
||||
# Wait for everything to terminate before exiting.
|
||||
|
|
Loading…
Reference in a new issue