When you inject environment variables, either with the config key cijoe.run.env, or via cijoe.run(cmd, env={...}), environment variables are prepended to the command. If the given cmd is a subshell command (e.g. cijoe.run("(cd dir; make)")), prepending the injected environment variables will render the final command invalid.
This could potentially be fixed by changing the way environment variables are injected:
# from
ENV=var <cmd>
# to
export ENV=var; <cmd>
When you inject environment variables, either with the config key
cijoe.run.env, or viacijoe.run(cmd, env={...}), environment variables are prepended to the command. If the givencmdis a subshell command (e.g.cijoe.run("(cd dir; make)")), prepending the injected environment variables will render the final command invalid.This could potentially be fixed by changing the way environment variables are injected: