<commit_before>This is [being worked on right now (issue #38)](https://github.com/scipipe/scipipe/issues/38).

What you can do right now, is to use the `Prepend` field in processes, to add a
[salloc](https://slurm.schedmd.com/salloc.html) command string (in the case of
SLURM), or any analogous blocking command to other resource managers.

So, something like this (See on the third line how the salloc-line is added to the process):

```go
...
wf := scipipe.NewWorkflow("Hello_World_Workflow")
myProc := wf.NewProc("hello_world", "echo Hello World; sleep 10;")
myProc.Prepend = "salloc -A projectABC123 -p core -t 1:00 -J HelloWorld"
...

You can find the updated GoDoc for the process struct [here](http://godoc.org/github.com/scipipe/scipipe#SciProcess).<commit_msg>Add missing end of code example<commit_after>This is [being worked on right now (issue #38)](https://github.com/scipipe/scipipe/issues/38).

What you can do right now, is to use the `Prepend` field in processes, to add a
[salloc](https://slurm.schedmd.com/salloc.html) command string (in the case of
SLURM), or any analogous blocking command to other resource managers.

So, something like this (See on the third line how the salloc-line is added to the process):

```go
...
wf := scipipe.NewWorkflow("Hello_World_Workflow")
myProc := wf.NewProc("hello_world", "echo Hello World; sleep 10;")
myProc.Prepend = "salloc -A projectABC123 -p core -t 1:00 -J HelloWorld"
...
```

You can find the updated GoDoc for the process struct [here](http://godoc.org/github.com/scipipe/scipipe#SciProcess).
{'fraction_non_alphanumeric': 0.12243589743589743, 'fraction_numerical': 0.015384615384615385, 'mean_word_length': 4.594982078853047, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1502387', 'n_tokens_mistral': 527, 'n_tokens_neox': 501, 'n_words': 186}