- Timestamp:
- Aug 21, 2012 12:48:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r42380 r42904 1074 1074 return 1075 1075 guest = console.guest 1076 guestSession = guest.createSession(user, passwd, "", "vboxshell guest exec") 1076 1077 # shall contain program name as argv[0] 1077 1078 gargs = args … … 1081 1082 flags = 1 # set WaitForProcessStartOnly 1082 1083 print args[0] 1083 (progress, pid) = guest.executeProcess(args[0], flags, gargs, env, user, passwd, tmo)1084 print "executed with pid %d" %(p id)1084 process = guestSession.processCreate(args[0], gargs, env, [], tmo) 1085 print "executed with pid %d" %(process.PID) 1085 1086 if pid != 0: 1086 1087 try:
Note:
See TracChangeset
for help on using the changeset viewer.