VirtualBox

Changeset 28654 in vbox


Ignore:
Timestamp:
Apr 23, 2010 2:38:04 PM (15 years ago)
Author:
vboxsync
Message:

VBoxShell: arg list

File:
1 edited

Legend:

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

    r28651 r28654  
    746746    tmo = 0
    747747    guest = console.guest
    748     print "executing %s with args %s" %(args[0], args[1:])
    749     (progress, pid) = guest.executeProcess(args[0], 0, args[1:], [], "", "", "", user, passwd, tmo)
     748    if len(args) > 1:
     749        gargs = args[1:]
     750    else:
     751        gargs = []
     752    print "executing %s with args %s" %(args[0], gargs)
     753    (progress, pid) = guest.executeProcess(args[0], 0, gargs, [], "", "", "", user, passwd, tmo)
    750754    print "executed with pid %d" %(pid)
    751755    if pid != 0:
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