Skip to content

Commit 1d606e5

Browse files
concat precommand
1 parent c6cb3c9 commit 1d606e5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • snakemake_interface_executor_plugins/executors

snakemake_interface_executor_plugins/executors/real.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def format_job_exec(self, job: JobExecutorInterface) -> str:
146146
precommand = self.workflow.spawned_job_args_factory.precommand(
147147
auto_deploy_default_storage_provider=self.common_settings.auto_deploy_default_storage_provider
148148
)
149+
if precommand:
150+
precommand += " &&"
149151

150152
args = join_cli_args(
151153
[

0 commit comments

Comments
 (0)