Command hangs: `run(pipeline(`git diff`, stderr=err, stdout=out), wait=true)`

You have a couple of misconceptions:

  • Julia commands have nothing to do with your shell. run doesn’t “shell-out”, it spawns a child process directly.

  • When you call git diff, it’s git (not zsh) the program that decides to use a pager.

If you don’t want to use a pager with git, maybe you could use the --no-pager option:

git --no-pager diff
2 Likes