Changeset 106001 in vbox for trunk/doc/manual/en_US/man_VBoxManage-guestcontrol.xml
- Timestamp:
- Sep 10, 2024 11:15:32 AM (6 months ago)
- svn:sync-xref-src-repo-rev:
- 164747
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/man_VBoxManage-guestcontrol.xml
r102749 r106001 371 371 <arg>--source=<replaceable>guest-additions.ISO</replaceable></arg> 372 372 <arg>--wait-start</arg> 373 <arg>-- 373 <arg>--<arg rep="repeat"><replaceable>argument</replaceable></arg></arg> 374 374 </cmdsynopsis> 375 375 … … 442 442 specify an empty password. On OSes such as Windows, you might 443 443 need to adjust the security policy to permit user accounts with 444 an empty password. In addition al, global domain rules might444 an empty password. In addition, global domain rules might 445 445 apply and therefore cannot be changed. 446 446 </para> … … 461 461 Specifies the password for the specified user. If you do 462 462 not specify a password on the command line or if the 463 password fileis empty, the specified user needs to have463 password is empty, the specified user needs to have 464 464 an empty password. 465 465 </para></listitem> … … 468 468 <term><option>--passwordfile=<replaceable>filename</replaceable></option></term> 469 469 <listitem><para> 470 Specifies the absolute path to a file on the guest OSthat470 Specifies the absolute path to a file on the host system that 471 471 contains the password for the specified user. If the 472 472 password file is empty or if you do not specify a password … … 478 478 <term><option>--username=<replaceable>username</replaceable></option></term> 479 479 <listitem><para> 480 Specifies an existing user on the guest OS that runs the 481 process. If unspecified, the host user runs the process. 480 Specifies an existing user in the guest OS that runs the 481 process. If unspecified, the name of the user on the host 482 invoking the <command>VBoxManage</command> command will be 483 used as the username for the guest OS login. 482 484 </para></listitem> 483 485 </varlistentry> … … 487 489 <title>Guest Process Restrictions</title> 488 490 <para> 489 By default, you can run up to five guest processes 490 simultaneously. If a new guest process starts and would exceed 491 this limit, the oldest not-running guest process is discarded to 492 run the new process. You cannot retrieve output from a discarded 493 guest process. If all five guest processes are active and 494 running, attempting to start a new guest process fails. 495 </para> 496 <para> 497 You can modify the guest process execution limit in two ways: 498 </para> 499 <itemizedlist> 500 <listitem><para> 501 Use the <command>VBoxManage setproperty</command> command to 502 update the 503 <literal>/VirtualBox/GuestAdd/VBoxService/--control-procs-max-kept</literal> 504 guest property value. 505 </para></listitem> 506 <listitem><para> 507 Use the <command>VBoxService</command> command and specify 508 the 509 <option>--control-procs-max-kept=<replaceable>value</replaceable></option> 510 option. 511 </para></listitem> 512 </itemizedlist> 513 <para> 514 After you change the limit, you must restart the guest OS. 515 </para> 516 <para> 517 You can serve an unlimited number guest processes by specifing a 518 value of <literal>0</literal>, however this action is not 519 recommended. 491 By default, you can run up to 255 guest processes simultaneously. 492 If attempting to start a new guest process would exceed 493 this limit and there are inactive guest processes then the the 494 oldest inactive guest process is discarded to run the new process. 495 You cannot retrieve the output from a discarded guest process. If 496 all 255 guest processes are active and running, attempting to start 497 a new guest process fails. 520 498 </para> 521 499 </refsect2> 522 500 <refsect2 id="vboxmanage-guestcontrol-run"> 523 <title>Run a Command on the guest</title>501 <title>Run a Command in the guest</title> 524 502 <remark role="help-copy-synopsis"/> 525 503 <para> 526 504 The <command>VBoxManage guestcontrol 527 505 <replaceable>vmname</replaceable> run</command> command enables 528 you to execute a program on the guest VM. Standard input,506 you to execute a program in the guest VM. Standard input, 529 507 standard output, and standard error are redirected from the VM 530 508 to the host system until the program completes. … … 532 510 <note> 533 511 <para> 534 The Windows OS imposes certain limitations for graphical 535 applications. See <xref linkend="KnownIssues" />. 512 Microsoft Windows imposes certain limitations when running 513 graphical user interface applications launched using 514 <command>VBoxManage guestcontrol run</command>. See 515 <xref linkend="KnownIssues" />. 536 516 </para> 537 517 </note> … … 541 521 <listitem><para> 542 522 Specifies the absolute path of the executable program to 543 run on the guest VM. For example:523 run in the guest VM. For example: 544 524 <filename>C:\Windows\System32\calc.exe</filename>. 525 </para></listitem> 526 </varlistentry> 527 <varlistentry> 528 <term><option>--arg0=<replaceable>alternate-executable-name</replaceable></option></term> 529 <listitem><para> 530 Specifies an alternate name (i.e. arg0 or argv[0]) for the 531 executable being run in the guest. 545 532 </para></listitem> 546 533 </varlistentry> … … 584 571 </para><para> 585 572 Use the 586 <option>--putenv=<replaceable>NAME</replaceable>= [<replaceable>value</replaceable>]</option>573 <option>--putenv=<replaceable>NAME</replaceable>=</option> 587 574 option to unset the environment variable specified by 588 575 <replaceable>NAME</replaceable>. … … 669 656 </varlistentry> 670 657 <varlistentry> 671 <term><option>-- [<replaceable>argument</replaceable>...]</option></term>672 <listitem><para> 673 Specifies the name of the program and any arguments to674 pass to the program.658 <term><option>-- [<replaceable>argument</replaceable>...]</option></term> 659 <listitem><para> 660 Specifies one or more arguments to pass to the program 661 being run in the guest. 675 662 </para><para> 676 663 Ensure that any command argument that includes spaces is … … 686 673 The <command>VBoxManage guestcontrol 687 674 <replaceable>vmname</replaceable> start</command> command 688 enables you to execute a guest program until it completes. 675 enables you to execute a guest program and returns after 676 the command has been successfully started. The invoked 677 command doesn't wait until all data from stdout or stderr 678 has been read before returning. 689 679 </para> 690 680 <note> 691 681 <para> 692 The Windows OS imposes certain limitations for graphical 693 applications. See <xref linkend="KnownIssues" />. 682 Microsoft Windows imposes certain limitations when running 683 graphical user interface applications launched using 684 <command>VBoxManage guestcontrol start</command>. See 685 <xref linkend="KnownIssues" />. 694 686 </para> 695 687 </note> … … 970 962 <term><literal><replaceable>guest-file</replaceable> [<replaceable>guest-file</replaceable>...]</literal></term> 971 963 <listitem><para> 972 Specifies an absolute path of one or more file to remove964 Specifies an absolute path of one or more files to remove 973 965 from the guest VM. You can use wildcards to specify the 974 966 file names. For example, … … 1431 1423 </para> 1432 1424 <para> 1433 The default behavior of argument 0 is to either use1434 the value from <option>--exe</option>, or, if not set, the first1435 value passed after <option>--</option>.1425 The default value of argument 0 (i.e. arg0 or argv[0]) is the value 1426 from the <option>--exe</option> option unless the <option>--arg0</option> 1427 option has been supplied. 1436 1428 </para> 1437 1429 </refsect1>
Note:
See TracChangeset
for help on using the changeset viewer.