nushell.github.io icon indicating copy to clipboard operation
nushell.github.io copied to clipboard

Document passing arguments to externals better

Open kubouch opened this issue 2 years ago • 3 comments

I've seen a lot of issues about external arguments, like this one: https://github.com/nushell/nushell/issues/5947.

We should have a page that documents all the ways you can call external with arguments (i.e., explaining that you can pass a list to an external as a list of arguments and that one long string with spaces will be considered as one argument).

kubouch avatar Jul 04 '22 20:07 kubouch

Wow... That's what I meet and confused before

WindSoilder avatar Jul 04 '22 22:07 WindSoilder

Also, you can run externals with ^$program-name, that should be documented as well since it might not be obvious but it's very useful.

kubouch avatar Jul 05 '22 10:07 kubouch

There is no specific documentation for calling external [with or without ^] yet, right?

I assume Externs as well as an earlier introduction would be the places to put documentation about calling external executables?

Kissaki avatar May 29 '24 21:05 Kissaki