Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果符合 POSIX 的 shell 无法执行命令,它会立即以 status 退出127。
127
是否可以立即确定这样的 shell 已成功执行命令而无需等待命令(以及 shell)退出?(不是命令的退出状态!)特别是我在考虑这样的命令xterm在用户选择终止它们之前不会退出。
xterm
如果这不能便携地完成,它可以非便携地完成吗?在 Linux 下,还是只使用 Bash 或其他一些 shell 子集?