| operators?

问题描述 投票:0回答:1
(4 answers) 这个问题在这里已经有了答案

:

command1.sh || recover.sh
command2.sh && command3.sh

command1.ps1; if ($? -ne 0) { recover.ps1 }
command2.ps1; if ($? -eq 0) { command3.ps1 }
powershell syntax
1个回答
2
投票

1/0 || 'no'
RuntimeException: Attempted to divide by zero.

no
© www.soinside.com 2019 - 2024. All rights reserved.