VirtualBox

Ignore:
Timestamp:
Sep 16, 2019 1:18:44 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133393
Message:

Main: bugref:9341: The "environment" parameter in the IMachine::launchVMProcess renamed to "environmentChanges" and changed the type from wstring to "safearray of wstrings"

Location:
trunk/src/VBox/Main/webservice/samples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/samples/java/jax-ws/clienttest.java

    r76553 r80824  
    229229                String uuid = oMachine.getId();
    230230                String sessionType = "gui";
    231                 String env = "DISPLAY=:0.0";
     231                ArrayList<String> env = new ArrayList<String>();
     232                env.add("DISPLAY=:0.0");
    232233                IProgress oProgress =
    233234                    oMachine.launchVMProcess(oSession,
  • trunk/src/VBox/Main/webservice/samples/perl/clienttest.pl

    r76553 r80824  
    179179    print "[$cmd] UUID: $uuid\n";
    180180
     181    my @env = ();
    181182    my $progress = vboxService->IMachine_launchVMProcess($machine,
    182183                                                         $session,
    183184                                                         "headless",
    184                                                          "");
     185                                                         @env);
    185186    die "[$cmd] Cannot launch VM; stopped"
    186187        if (!$progress);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette