Project

General

Profile

Bug #19081

Updated by Peter Amstutz almost 2 years ago

Customer reported a job that worked correctly with Docker runtime, did not work with the Singularity runtime. 

 The command line looked like this: 

 @["/bin/bash", "-c", "command1 --option1 --option2"]@ 

 However it acts is if it were invoked as 

 @/bin/bash -c command1@ 

 or possibly 

 @/bin/bash -c command1 --option1 --option2@ 

 Further bolstering this hypothesis, the workaround was to not run it as a shell command (which seems to have been unnecessary, anyway), this worked as expected: 

 @["command1", "--option1", "--option2"]@ 

Back