-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bash -c #36
Comments
You need to split the command line args into a vector like so if I read your command correctly cmd <- c("-c", ".", ". ~/.bashrc")
exec_wait("bash", cmd) |
I'm getting the following:
|
You need to split your |
There's no change:
To be clear, the goal is to run 3 commands via |
So is it possible to include multiple commands via |
In order to activate a conda env prior to running the system command, I'm using
bash -c ". ~/.bashrc; conda activate MY_CONDA_ENV; MY ACTUAL COMMAND"
This works with
system2()
, but withexec_wait('bash', cmd)
, I get:My sessionInfo:
The text was updated successfully, but these errors were encountered: