• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTask vmrun
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTask vmrun


  • Subject: NSTask vmrun
  • From: Rainer Standke <email@hidden>
  • Date: Fri, 05 Aug 2011 20:15:06 -0700

Hello,

I am trying to have a script executed on a virtual machine inside VM Fusion. This works with the vmrun command in Terminal, like so:

/Library/Application\ Support/VMware\ Fusion/vmrun -T fusion -gu *** -gp *** runScriptInGuest "/Users/rainer/Documents/Virtual Machines.localized/Windows XP Professional v1.vmwarevm/Windows XP Professional v1.vmx" -noWait "" "start http://apple.com";

I am having a hell of a time getting the same thing done in an NSTask. Here is a printout of my arguments array:

args: (
    "-T fusion",
    "-gu Administrator",
    "-gp Admin",
    runScriptInGuest,
    "\"/Users/rainer/Documents/Virtual Machines.localized/Windows XP Professional v1.vmwarevm/Windows XP Professional v1.vmx\"",
    "",
    "start http://apple.com";
)

None of the many variations I have tried have worked.

Has anyone done this successfully? Or something similar with vmrun? How?

Thanks!

Rainer_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSTask vmrun
      • From: "Stephen J. Butler" <email@hidden>
  • Prev by Date: Re: ARC and Singletons
  • Next by Date: Re: NSTask vmrun
  • Previous by thread: Customizing UITableView cell dragging?
  • Next by thread: Re: NSTask vmrun
  • Index(es):
    • Date
    • Thread