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

Home » Public Forums » archive » Spawn under Mac Os Yosemite
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 under Mac Os Yosemite [message #90942] Fri, 15 May 2015 09:12 Go to next message
Miguel is currently offline  Miguel
Messages: 18
Registered: April 2015
Junior Member
Hi everyone,

I'm working on my code with Fedora and Mac Os and until today, it worked fine.
I'm trying to use the command spawn to work with ds9 but it does not work on Mac.

> spawn,'ds9'
bash: ds9: command not found

I created an alias to open ds9 from the Terminal (with "ds9" and not with "open ds9") but I get the same problem with IDL.
Since, I'm beginning with Mac, I do not know what is the problem.

Thank you for your help,

Miguel
Re: Spawn under Mac Os Yosemite [message #90945 is a reply to message #90942] Sun, 17 May 2015 22:22 Go to previous message
karo03de is currently offline  karo03de
Messages: 21
Registered: March 2007
Junior Member
Am Freitag, 15. Mai 2015 18:12:24 UTC+2 schrieb miguelfigue...@gmail.com:
> Hi everyone,
>
> I'm working on my code with Fedora and Mac Os and until today, it worked fine.
> I'm trying to use the command spawn to work with ds9 but it does not work on Mac.
>
>> spawn,'ds9'
> bash: ds9: command not found
>
> I created an alias to open ds9 from the Terminal (with "ds9" and not with "open ds9") but I get the same problem with IDL.
> Since, I'm beginning with Mac, I do not know what is the problem.
>
> Thank you for your help,
>
> Miguel

Hi, try

spawn, 'echo $PATH'

to see the search path. Desktop and terminal applications behave differently. In worst case use fully quallyfied commands in spawn. I am using EnvPane, a system preference pane for environment variables (http://diaryproducts.net/files/EnvPane-0.3.dmg)

Karsten
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Problem with EXIT and garbage collection
Next Topic: How to ignore NaNs in the data array with function cgPercentile.pro or Percentile.pro?

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

Current Time: Wed Oct 08 07:23:49 PDT 2025

Total time taken to generate the page: 0.00407 seconds