Spawn under Mac Os Yosemite [message #90942] |
Fri, 15 May 2015 09:12  |
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  |
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
|
|
|