FlorentRevest/vscode-git-send-email

`usr/bin/script` command fails on Mac OS X because of Linux-specific parameters

Closed this issue · 1 comments

let terminal = vscode.window.createTerminal({
name: "git send-email",
shellPath: "/usr/bin/script",
shellArgs: ["-f", "-q", pipe],

If you take a look at the Linux manpage for script, it's this: https://man7.org/linux/man-pages/man1/script.1.html
However, Mac is based on FreeBSD and the parameters are somewhat different: https://man.freebsd.org/cgi/man.cgi?script(1)

Looks like instead of -f, you might want -F for FreeBSD-based systems.

Thank you!