Hello,
I am wondering why, unlike SCI, SCIHOME, TMPDIR and home, WSCI is not
defined in the calling OS environment:
--> getenv WSCI
getenv: Undefined environment variable WSCI.
--> getenv SCI
ans =
C:/Applications/scilab/SCILAB~2.2
--> getenv SCIHOME
ans =
C:\Users\I\AppData\Roaming\Scilab\SCILAB~2.2
--> getenv TMPDIR
ans =
C:\Users\I\AppData\Local\Temp\SC6FE7~1
--> getenv home
ans =
C:\Users\I
Hence, %TMPDIR%, .. %SCIHOME% can be used in commands sent to the OS
through unix_*() or host() functions
(or $TMPDIR, .. $SCIHOME on Linux and MacOS), but not %WSCI% or $WSCI.
This looks a bit awkward, doesn't it?
WSCI could be defined as well on Linux and MacOS as a copy of SCI. It
would not disturb.
Regards
Samuel
_______________________________________________
dev mailing list
dev@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/dev