Changeset 37866 in vbox
- Timestamp:
- Jul 11, 2011 12:02:08 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/doc/manual/en_US/user_VBoxManage.xml (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_VBoxManage.xml
r37837 r37866 2456 2456 running and has the following syntax:</para> 2457 2457 2458 <screen>VBoxManage guestcontrol exec[ute] <vmname>|<uuid>2458 <screen>VBoxManage guestcontrol <vmname>|<uuid> exec[ute] 2459 2459 --image <path to program> 2460 2460 --username <name> --password <password> 2461 [--dos2unix] 2461 2462 [--environment "<NAME>=<VALUE> [<NAME>=<VALUE>]"] 2462 [-- flags <flags>] [--timeout <msec>]2463 [-- verbose] [--wait-exit] [--wait-stdout] [--wait-stderr]2463 [--timeout <msec>] [--unix2dos] [--verbose] 2464 [--wait-exit] [--wait-stdout] [--wait-stderr] 2464 2465 -- [[<argument1>] ... [<argumentN>]]</screen> 2465 2466 … … 2484 2485 2485 2486 <glossentry> 2486 <glossterm>-- arguments "<arguments>"</glossterm>2487 <glossterm>--username <name></glossterm> 2487 2488 2488 2489 <glossdef> 2489 <para>One or more arguments to pass to the process being 2490 executed.</para> 2491 2492 <para>Arguments containing spaces must be enclosed in 2493 quotation marks. More than one 2494 <computeroutput>--arguments</computeroutput> at a time can 2495 be specified to keep the command line tidy.</para> 2490 <para>Name of the user the process should run under. This 2491 user must exist on the guest OS.</para> 2492 </glossdef> 2493 </glossentry> 2494 2495 <glossentry> 2496 <glossterm>--password <password></glossterm> 2497 2498 <glossdef> 2499 <para>Password of the user account specified with 2500 <computeroutput>--username</computeroutput>. If not given, 2501 an empty password is assumed.</para> 2502 </glossdef> 2503 </glossentry> 2504 2505 <glossentry> 2506 <glossterm>--dos2unix</glossterm> 2507 2508 <glossdef> 2509 Converts output from DOS/Windows guests to UNIX-compatible 2510 line endings (CR + LF -> LF). Not implemented yet. 2496 2511 </glossdef> 2497 2512 </glossentry> … … 2522 2537 2523 2538 <glossentry> 2524 <glossterm>--flags <flags></glossterm>2525 2526 <glossdef>2527 <para>Additional flags to set. This is not used at the2528 moment.</para>2529 </glossdef>2530 </glossentry>2531 2532 <glossentry>2533 2539 <glossterm>--timeout <msec></glossterm> 2534 2540 … … 2543 2549 2544 2550 <glossentry> 2545 <glossterm>--u sername <name></glossterm>2551 <glossterm>--unix2dos</glossterm> 2546 2552 2547 2553 <glossdef> 2548 <para>Name of the user the process should run under. This 2549 user must exist on the guest OS.</para> 2550 </glossdef> 2551 </glossentry> 2552 2553 <glossentry> 2554 <glossterm>--password <password></glossterm> 2555 2556 <glossdef> 2557 <para>Password of the user account specified with 2558 <computeroutput>--username</computeroutput>. If not given, 2559 an empty password is assumed.</para> 2554 Converts output from a UNIX/Linux guests to DOS-/Windows-compatible 2555 line endings (LF -> CR + LF). Not implemented yet. 2560 2556 </glossdef> 2561 2557 </glossentry> … … 2598 2594 </glossentry> 2599 2595 2596 <glossentry> 2597 <glossterm>[-- [<argument1s>] ... [<argumentNs>]]</glossterm> 2598 2599 <glossdef> 2600 <para>One or more arguments to pass to the process being 2601 executed.</para> 2602 <para>Arguments containing spaces must be enclosed in 2603 quotation marks.</para> 2604 </glossdef> 2605 </glossentry> 2606 2600 2607 </glosslist></para> 2601 2608 … … 2604 2611 applications; please see <xref linkend="KnownIssues" /> for more 2605 2612 information.</para> 2606 </note> Examples: <screen>VBoxManage --nologo guestcontrol execute "My VM" "/bin/ls" --arguments "-l /usr"2607 --username foo --password bar --wait- for stdout</screen> <screen>VBoxManage --nologo guestcontrol execute "My VM""c:\\windows\\system32\\ipconfig.exe"2608 --username foo --password bar --wait- forstdout</screen> Note that2613 </note> Examples: <screen>VBoxManage --nologo guestcontrol "My VM" execute --image "/bin/ls" 2614 --username foo --password bar --wait-exit --wait-stdout -- -l /usr</screen> <screen>VBoxManage --nologo guestcontrol "My VM" execute --image "c:\\windows\\system32\\ipconfig.exe" 2615 --username foo --password bar --wait-exit --wait-stdout</screen> Note that 2609 2616 the double backslashes in the second example are only required on 2610 2617 Unix hosts.</para>
Note:
See TracChangeset
for help on using the changeset viewer.

