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

Home » Public Forums » archive » Re: Spawn and Parallels
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Spawn and Parallels [message #62349 is a reply to message #62348] Fri, 05 September 2008 06:23 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
JMZawodny@gmail.com writes:
> 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

I'm not sure why you need to launch a Terminal, couldn't you just
SPAWN it directly?

If not, could you use AppleScript commands ("osascript") in order to
remotely control Terminal?

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: cbmarkwardt+usenet@gmail.com
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Get paid daily to work at home.
Next Topic: weighting: irregular grid

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

Current Time: Sat Oct 11 08:43:18 PDT 2025

Total time taken to generate the page: 0.56064 seconds