The plink.exe
does not return 2 on its own.
It returns 1 on error.
When it successfully executes a remote command, it returns an exit code of the remote command. So it must be the remote command that returns the 2.
Я использую утилиту PuTTY plink.exe
для запуска удаленных команд, и она возвращает код завершения 2. Что это значит?
The plink.exe
does not return 2 on its own.
It returns 1 on error.
When it successfully executes a remote command, it returns an exit code of the remote command. So it must be the remote command that returns the 2.