mirror of
https://github.com/DualCoder/vgpu_unlock.git
synced 2025-08-05 04:16:24 -07:00
Allow args to be passed
This commit is contained in:
parent
2294da3d17
commit
b7e509d524
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def main():
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
device.on("child-added", on_child_added)
|
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)
|
instrument(pid)
|
||||||
|
|
||||||
# Wait for everything to terminate before exiting.
|
# Wait for everything to terminate before exiting.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue