mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Use a shell for lifecycle commands and improve hook errors
This commit is contained in:
1 parent
63209515a3
commit
445b6130f7
6 files changed
+61
-68
No files matched your search
+6
-4
@@ -194,14 +194,16 @@ possible parameter combinations.
|
||||
.HP
|
||||
\fB\-\-shell\fR \fISHELL\fP
|
||||
.IP
|
||||
Set the shell to use for executing commands (default: none). This can be
|
||||
the name or the path to the shell executable, or a full command line
|
||||
Set the shell to use for executing benchmarked commands, including warmup runs
|
||||
(default: none). This can be the name or the path to the shell executable,
|
||||
or a full command line
|
||||
like "bash \fB\-\-norc\fR". It can also be set to "default" to explicitly
|
||||
select the platform shell (sh on Unix, cmd.exe on Windows). Finally, this can also be
|
||||
set to "none" to disable the shell. In this case, commands will be
|
||||
set to "none" to disable the shell. In this case, benchmarked commands will be
|
||||
executed directly. They can still have arguments, but more complex
|
||||
things like "sleep 0.1; sleep 0.2" are not possible without a shell.
|
||||
This option also applies to setup, prepare, conclude, and cleanup commands.
|
||||
Setup, prepare, conclude, and cleanup commands always use a shell: the selected
|
||||
shell, or the platform shell when this option is omitted or set to "none".
|
||||
.HP
|
||||
\fB\-S\fR
|
||||
.IP
|
||||
|
||||
Reference in new issue
Block a user