summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-05-15 20:20:25 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-05-15 20:20:25 +0200
commit338ac0efb3d2e2a258d949268ed6b27b3ecae1a0 (patch)
treed75471dbec089455c4f0c9539c0d38299cfe66c8 /README.md
parentbe0e2017b46e981060b1f9f5fd764571ad2dc2a1 (diff)
Extra arguments for the spawned tool
Changelog: Added `args` parameter to `spawn` command to pass extra command-line arguments to the spawend tool
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index 15fb488..e64f148 100644
--- a/README.md
+++ b/README.md
@@ -243,11 +243,12 @@ node <name> [on <network>]
Create a node on network `<network>` (or context network if omitted) and assign the new node to the variable `<name>`.
```
-spawn as <name> [on (<node> | <network>)]
+spawn as <name> [on (<node> | <network>)] [args <arguments>]
```
Spawn a new test process on `<node>` or `<network>` (or one from context) and assign the new process to variable `<name>`.
When spawning on network, create a new node for this process.
+Extra `<arguments>` to the tool can be given as a list of strings using the `args` keyword.
The process is terminated when the variable `<name>` goes out of scope (at the end of the block in which it was created) by closing its stdin.
When the process fails to terminate successfully within a timeout, the test fails.