famous-honey-43570
05/27/2025, 6:46 PMpex_binary defined tool to run within a specific directory in my codebase? Tools that I use with run_shell_command have the workdir parameter. I don't notice anything similar for pex_binaryelegant-florist-94385
05/27/2025, 9:00 PMpex_binary should be treated more like an executable. Its a "compiled" file that could be copied to other locations, or sent to other people/machines.
It probably shouldn't be expecting to run in a particular directory (ie. not be using internal relative paths), or if it is, it should be understood that it must be placed and executed in a directory that matches what it expects. (eg. it may look for a config file in $PWD, but should probably use nice defaults or fail with a helpful error message if the config file is not present)elegant-florist-94385
05/27/2025, 9:02 PMfamous-honey-43570
05/27/2025, 9:06 PMelegant-florist-94385
05/27/2025, 9:11 PMcd there and then run Fivetranfamous-honey-43570
05/27/2025, 9:21 PM