Windows/Cygwin 等价于 linux screen 和 $()



我有一个运行screen并使用$( command )来执行command输出的bash脚本。我需要移植此脚本以在Windows上运行。我安装了 Cygwin 来运行它,但它无法将screen识别为命令,而且我不知道 Linux 的 $() 的 Windows 等效物。关于如何在窗口中执行此操作的任何建议?

屏幕默认

不安装。您需要使用cygwin安装程序显式安装它。
https://cygwin.com/faq.html#faq.setup.what-packages

$( command )它在 Cygwin 上像在 Linux 上一样在 bash 中可用

最新更新