Skip to content

Commit

Permalink
Remove tip about shell block (#5743)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolai <[email protected]>
  • Loading branch information
imLew authored Feb 5, 2025
1 parent e34609a commit 8a714a4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docs/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ process doOtherThings {

In this example, `$MAX` is a Nextflow variable that must be defined elsewhere in the pipeline script. Nextflow replaces it with the actual value before executing the script. Meanwhile, `$DB` is a Bash variable that must exist in the execution environment, and Bash will replace it with the actual value during execution.

:::{tip}
Alternatively, you can use the {ref}`process-shell` block definition, which allows a script to contain both Bash and Nextflow variables without having to escape the first.
:::

### Scripts *à la carte*

The process script is interpreted by Nextflow as a Bash script by default, but you are not limited to Bash.
Expand Down

0 comments on commit 8a714a4

Please sign in to comment.