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

Home » Public Forums » archive » SPAWN
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 [message #61791 is a reply to message #8682] Thu, 31 July 2008 05:33 Go to previous messageGo to previous message
Bob[3] is currently offline  Bob[3]
Messages: 60
Registered: December 2006
Member
On Jul 31, 7:44 am, Joost Aan de Brugh <joost...@gmail.com> wrote:
> Hello all,
>
> I was wondering if you can navigate efficiently through directories
> with Spawn (Calling shell commands)
>
> For example:
> IDL> Spawn,"pwd"
>  <Some directory>
> IDL> Spawn,"cd .."
> IDL> Spawn,"pwd"
>  <Still same directory, because after the cd .., something is reset>

I believe the problem is because each time SPAWN is executed a new
shell is opened, so that you will be in IDL's current working
directory by default.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PSF Energy inside circle
Next Topic: Edge detection and convert edges into polygons

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

Current Time: Fri Oct 10 06:59:30 PDT 2025

Total time taken to generate the page: 1.91905 seconds