WSCI not defined in OS environment

classic Classic list List threaded Threaded
1 message Options
Samuel GOUGEON Samuel GOUGEON
Reply | Threaded
Open this post in threaded view
|

WSCI not defined in OS environment

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
[hidden email]
http://lists.scilab.org/mailman/listinfo/dev