cromwell icon indicating copy to clipboard operation
cromwell copied to clipboard

Is it possible to use /usr/bin/env bash instead of /bin/bash?

Open scalavision opened this issue 7 years ago • 5 comments

Or maybe provide a flag to switch the default?

I get this error when running the hello world example from docs on nixos:

cromwell.core.CromwellFatalException: java.io.IOException: Cannot run program "/bin/bash": error=2, No such file or directory

Is it just to change this line?

https://github.com/broadinstitute/cromwell/blob/1b1a56372659b9cb7a168bb1fa2a2296103e1256/supportedBackends/sfs/src/main/scala/cromwell/backend/sfs/BackgroundAsyncJobExecutionActor.scala#L22

I could possibly just make my own version building from source then ..

It is due to the way nixos is built. A similar case is referenced here :

https://github.com/RcppCore/RcppArmadillo/issues/15

scalavision avatar Jan 25 '18 21:01 scalavision