[scilab-Users] Very basic question

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Mon Jun 28 15:13:46 CEST 2010


----- Message d'origine -----
De : Stefan Du Rietz
Date : 25/06/2010 18:45:
> Why does that work when
> unix('cd /export/home/somewhere');
> does not?
Each time you run a unix*("..") command, the current OS directory
is set to be the current Scilab directory. After a unix*("...") command,
the OS session ends, so there is no memory of what a previous unix*()
did or where it was.
The only way to avoid changing the Scilab directory would be by giving
all the useful OS instructions in a single unix*("...") command. 
Unfortunately,
at least for MSWin, the ";" can no longer be used as instruction 
separator...

Hope this help in understanding,
Regards
Samuel




More information about the users mailing list