under linux Program Console BUG
#3
(05-27-2022, 12:51 AM)bplus Wrote: Are you able to change directory? If so what does _CWD$ report then?

hello, the program must run in a bash script. i put it in a directory listed in the path so that it is accessible. _CWD$ returns at runtime the executable directory instead of the current directory. using chdir to a directory, _CWD$ works. it's very annoying. it looks like a bug.

example :
Code: (Select All)
$Console:Only
Color 14
Print _CWD$
ChDir "..\"
Print _CWD$
Reply


Messages In This Thread
under linux Program Console BUG - by Coolman - 05-26-2022, 08:37 PM
RE: _CWD$ under linux - by bplus - 05-27-2022, 12:51 AM
RE: _CWD$ under linux - by Coolman - 05-27-2022, 10:54 AM
RE: _CWD$ under linux BUG - by Coolman - 05-29-2022, 10:34 AM
RE: _CWD$ under linux BUG - by Kernelpanic - 05-29-2022, 03:22 PM
RE: _CWD$ under linux BUG - by Coolman - 05-29-2022, 04:54 PM
RE: under linux Program Console BUG - by Coolman - 05-29-2022, 07:28 PM
RE: under linux Program Console BUG - by Coolman - 05-29-2022, 08:04 PM



Users browsing this thread: 4 Guest(s)