tvl-depot/users/Profpatsch
Profpatsch 83634341aa feat(users/Profpatsch/execline): add args_for_exec
`exec_into_args` would just read argv and exec into it, but we want to
be able to write commands which take some positional arguments first.

Thus we split the invocation into `args_for_exec`, which returns the
positional arguments and prog, and then pass prog to `exec_into_args`
when we want to exec eventually (prog is still an iterator at this
point).

Change-Id: I0b180c1a100b96363fe33ba2c42034ed41716b7a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2474
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
2021-01-31 16:06:25 +00:00
..
arglib refactor(users/Profpatsch): move arglib_netencode into its own lib 2021-01-31 11:10:00 +00:00
emacs-tree-sitter-move feat(emacs-tree-sitter-move): shell and json test files 2021-01-01 22:40:38 +00:00
execline feat(users/Profpatsch/execline): add args_for_exec 2021-01-31 16:06:25 +00:00
netencode feat(users/Profpatsch/execline): add args_for_exec 2021-01-31 16:06:25 +00:00
netstring feat(users/Profpatsch/netencode): rename spec -> README 2021-01-23 15:37:26 +00:00
nixpkgs-rewriter feat(users/Profpatsch): add script for randomly evaling nixpkgs 2021-01-11 08:58:57 +00:00
read-http fix(users/Profpatsch/read-http): actually parse ascii 2021-01-31 11:10:00 +00:00
writers feat(Profpatsch/writers): add rustSimple writers 2021-01-03 16:29:57 +00:00
lib.nix fix(users/Profpatsch/lib): eprintenv should exec into prog 2021-01-31 11:10:00 +00:00
OWNERS feat(users/Profpatsch): add home directory 2020-06-27 03:39:57 +00:00
rust-crates.nix fix(users/Profpatsch/read-http): actually parse ascii 2021-01-31 11:10:00 +00:00
tree-sitter.nix feat(users/Profpatsch/netstring): add rust to_netstring 2021-01-23 15:33:50 +00:00