Can someone test `./pants run` on a `pex_binary` w...
# development
b
Can someone test
./pants run
on a
pex_binary
with ``use_deprecated_pex_binary_run_semantics` set to
false
? Try it with
layout
set to
packed
. I'm seeing
Error executing interactive process: Permission denied (os error 13)
but can't repro in a sandbox. I suspect we might need more logic to invoke the PEX with
python
?
w
i repro with
packed
…and yea, that sounds right. the packed layout creates a directory. executing a directory is a non-thing. would need to be invoked as
python $dir
b
I'm on mobile, feel free to beat me to filing an issue and/or fixing before I'm back tomorrow
w
e
For packed (or loose) you can alternately run with either
python pex/
or
./pex/__main__.py
b
I think running with
python
<PEX>
would make the code layout agnostic which is nice
https://github.com/pantsbuild/pants/pull/16568 I ended up running
__main__.py
. tests took longer than normal to author because the timeout of 400s was capping me often.