VirtualBox

Changeset 28729 in vbox


Ignore:
Timestamp:
Apr 26, 2010 7:53:05 AM (15 years ago)
Author:
vboxsync
Message:

VBoxShell: argv[0] in exec

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r28726 r28729  
    800800    tmo = 0
    801801    guest = console.guest
    802     if len(args) > 1:
    803         gargs = args[1:]
    804     else:
    805         gargs = []
     802    # shall contain program name as argv[0]
     803    gargas = args
    806804    print "executing %s with args %s" %(args[0], gargs)
    807805    (progress, pid) = guest.executeProcess(args[0], 0, gargs, [], "", "", "", user, passwd, tmo)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette