the.bay.news

std::process::Command unexplained behavior

The Rust Programming Language Forum
std::process::Command unexplained behavior
I'm facing an unexplained behavior in std::process::Command. if the command is "sh" and args are "-c" and "kitty", $TERM inside the launched kitty is xterm-kitty if the command is "sh" and args are "-c" and "cd $HOME && kitty", $TERM inside the launched kitty is linux If I do the same previous step but inside a terminal (even if it has $TERM as linux), so basically a command line "sh -c 'cd $HOME && kitty'", $TERM inside the launched kitty is xterm-kitty. The idiosyncracy exists in shell beh...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.