Questions tagged [system-paths]
49 questions
0
votes
2 answers
Get the location of executables in PATH
I would like to use the rar.exe path in Java. This is needed to unpack rar files from within my Java application without using a library.
I figured I'd require the user to add the program files folder for Winrar to the PATH system variable.
All I…

Christophe De Troyer
- 2,852
- 3
- 30
- 47
-1
votes
1 answer
Python3.8 cannot find command in the PATH env var (Ubuntu)
When running a python script using python38 it gives:
FileNotFoundError: [Errno 2] No such file or directory: 'riscv32-unknown-elf-objdump'
'riscv32-unknown-elf-objdump' is on my $PATH at shell command line, and also on sys.path printed by the…

yorgo
- 477
- 1
- 6
- 14
-1
votes
1 answer
Can PHPUnit temporarily reset system paths before a run?
I'm using phpunit-spiderling alongside PHPUnit to run browser/functional tests on PhantomJS, installed via jonnyw/php-phantomjs, which in turn installs the phantomjs binary in /bin. Since that folder is not in the system path, I need to…

halfer
- 19,824
- 17
- 99
- 186
-4
votes
1 answer
Alternatives for PHP older version functions
Anyone knows alternative function for sys_get_temp_dir and DIRECTORY_SEPARATOR and tempnam in PHP
existing PHP version is 4.*

Mangesh Sathe
- 1,987
- 4
- 21
- 40