Changeset 27906 in vbox
- Timestamp:
- Mar 31, 2010 2:21:18 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
r27894 r27906 449 449 'stats': lambda: perfStats(ctx, mach), 450 450 'guest': lambda: guestExec(ctx, mach, console, args), 451 'guestlambda': lambda: args[0](ctx, mach, console, args[1:]), 451 452 'monitorGuest': lambda: monitorGuest(ctx, mach, console, args), 452 453 'save': lambda: progressBar(ctx,console.saveState()), … … 1257 1258 'quit':['Exits', quitCmd, 0], 1258 1259 'host':['Show host information', hostCmd, 0], 1259 'guest':['Execute command for guest: guest Win32 \'console.mouse.putMouseEvent(20, 20, 0, 0 )\'', guestCmd, 0],1260 'guest':['Execute command for guest: guest Win32 \'console.mouse.putMouseEvent(20, 20, 0, 0, 0)\'', guestCmd, 0], 1260 1261 'monitorGuest':['Monitor what happens with the guest for some time: monitorGuest Win32 10', monitorGuestCmd, 0], 1261 1262 'monitorVBox':['Monitor what happens with Virtual Box for some time: monitorVBox 10', monitorVBoxCmd, 0], … … 1397 1398 return runCommandArgs(ctx, args) 1398 1399 1400 def runGuestCommandCb(ctx, id, guestLambda, args): 1401 mach = machById(ctx,id) 1402 if mach == None: 1403 return 0 1404 args.insert(0, guestLambda) 1405 cmdExistingVm(ctx, mach, 'guestlambda', args) 1406 return 0 1407 1399 1408 def main(argv): 1400 1409 style = None … … 1426 1435 'type':g_virtualBoxManager.type, 1427 1436 'run': lambda cmd,args: runCommandCb(ctx, cmd, args), 1437 'guestlambda': lambda id,guestLambda,args: runGuestCommandCb(ctx, id, guestLambda, args), 1428 1438 'machById': lambda id: machById(ctx,id), 1429 1439 'argsToMach': lambda args: argsToMach(ctx,args),
Note:
See TracChangeset
for help on using the changeset viewer.