Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

142
Visualizações
JAX script to start VMware vm from Viscosity that used to work stopped working with latest VMware Fusion

BigSur 11.6.1

After upgrading Fusion to 12.2.0 a vmrun command that used to work when run using an AppleScript (JAX) from a given Viscosity VPN pre-connection event simply stopped working. This script when run directly from AppleScript IDE works fine. Tried adding user, password and admin privileges flag yet it will not start the vm when run as a Viscosity VPN event.

This is the snippet of code that attempt to start the VPN:

var app = Application.currentApplication();
app.includeStandardAdditions = true;
try {
    app.doShellScript("ping 192.168.20.128 -c 1");
} 
catch (err) {
    app.doShellScript("'/Applications/VMware Fusion.app/Contents/Library/vmrun' start '//Users//<username>//Virtual Machines.localized//OpenWRT21-RW.vmwarevm//OpenWRT21-RW.vmx'", {userName:'<username>', password:'<password>', administratorPrivileges:true, alteringLineEndings:false});
}

Any ideas? Something changed with vmrun that suddenly when run from a context different than the interactive user context makes it fail?

( I have a separate post in VMWare communities where I'm sharing all my misadventures with Fusion 12.2: https://communities.vmware.com/t5/VMware-Fusion-Discussions/Fusion-12-2-breaks-otherwise-properly-working-networking-in/m-p/2872773#M175912 )

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda