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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to