mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-17 01:10:36 +03:00
use closure instead of block (#602)
This commit is contained in:
parent
cfd7a7950b
commit
e61b94efce
@ -6,7 +6,7 @@
|
||||
# e.g:
|
||||
# spawn { echo 3 }
|
||||
export def spawn [
|
||||
command: block # the command to spawn
|
||||
command: closure # the command to spawn
|
||||
] {
|
||||
let config_path = $nu.config-path
|
||||
let env_path = $nu.env-path
|
||||
|
Loading…
Reference in New Issue
Block a user