Open danmichaelo opened 1 year ago
Describe the bug
doppler run COMMAND fails if COMMAND is resolved from PATH and located relative to the current directory.
doppler run COMMAND
COMMAND
To Reproduce Steps to reproduce the behavior (minimal example):
hello-world
./bin
$ mkdir bin $ cat <<EOF > ./bin/hello-world #!/usr/bin/env bash echo "Hello world" EOF $ chmod +x ./bin/hello-world $ export PATH=./bin:$PATH
$ hello-world Hello world
$ doppler run hello-world Doppler Error: exec: "hello-world": cannot run executable found relative to current directory
Note that it does work to run doppler run ./bin/hello-world, not just doppler run hello-world.
doppler run ./bin/hello-world
doppler run hello-world
Expected behavior
It should work to run commands from PATH relative to the current directory.
CLI Version: Version v3.60.1
Additional context
Related bug with fix? https://github.com/syncthing/syncthing/issues/8499
Describe the bug
doppler run COMMAND
fails ifCOMMAND
is resolved from PATH and located relative to the current directory.To Reproduce Steps to reproduce the behavior (minimal example):
hello-world
bash script in./bin
and add the folder to PATH:Note that it does work to run
doppler run ./bin/hello-world
, not justdoppler run hello-world
.Expected behavior
It should work to run commands from PATH relative to the current directory.
CLI Version: Version v3.60.1
Additional context
Related bug with fix? https://github.com/syncthing/syncthing/issues/8499