comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Spawn

Spawn
type: item
description: 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 solved this problem by making an executable file which takes care of the directories. Spawn,condition?"OneFile":"OtherFile" And the executable file OneFile and OtherFile do the same but in a slightly different directory. I actually have no problem with this, but I was wondering if there is a nicer way to do this. Kind regards, Joost
creator: Joost Aan de Brugh
date: 2008-07-31T11:44:43-00:00