gorgeous-addition-6562
09/19/2022, 10:31 PM./pants run
with python subprocess
, but it doesn't allow me to do that since a pants process is already running. I've also tried to subprocess.run
python (sys.executable
) my scripts but it looks like that doesn't pick up the dependencies correctly (fail to import third party packages))witty-crayon-22786
09/19/2022, 10:44 PMI’ve tried to calldoing this with thewith python./pants run
, but it doesn’t allow me to do that since a pants process is already running.subprocess
--concurrent
flag either to the subprocess, or to the parent pants
process which is running the workflow would be the recommended approach currently.
eventually when we support multiple concurrent requests to pantsd
that flag will no longer be necessary, and we’ll deprecate it.gorgeous-addition-6562
09/19/2022, 10:49 PM