📜  powershell 仅在先前成功时才执行命令 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:34.352000             🧑  作者: Mango

代码示例1
# if the first echo success, do the second echo
echo "hello" ; if ($?) { echo "world !" }