comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Spawn and Parallels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Spawn and Parallels [message #62351] Fri, 05 September 2008 05:26
JMZawodny is currently offline  JMZawodny
Messages: 10
Registered: June 2007
Junior Member
I have a Mac running both OS X and Windows XP at the same time via
Parallels Desktop for Mac. I hate the way IDL works/looks/requiresX11
under OS X so I run IDL in a virtual machine with Windows XP.
Unfortunately, my current project requires that I SPAWN a process
under OS X (windows version of the software is not available). So, my
idea is to use SPAWN to launch terminal.app with the UNIT keyword and
use WRITEU to send commands to run the unix program. I can get SPAWN
to launch a terminal window under OS X, but I can't write a command
via the unit without IDL reporting that the pipe is broken and the
process being shut down. The terminal process does not terminate
though. I had to use the NOSHELL keyword to get the terminal process
to spawn.

So, I'm looking for either a fix or an alternative way to launch a
command line program on the unix side. Since I need to vary the
parameters in the command line from call to call, the usual mechanisms
that parallels uses to launch Mac apps from the virtual machine
probably won't work to directly launch the program I need to run. I'm
hoping that I'm just a little rusty with my unix skills and am missing
an obvious solution.

TIA, Joe
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FRACTAL Analysis in IDL
Next Topic: Large volume isosurface

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:17:46 PDT 2025

Total time taken to generate the page: 0.00465 seconds