Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Net::OpenSSH::ShellQuoter::MSCmd - Quoter for Windows cmd.exe

Description

       This quoter is intended for interaction with SSH servers running on Windows which invoke the requested
       commands through the "cmd.exe" shell.

       Because of "cmd.exe" not doing wildcard expansion (on Windows this task is left to the final command),
       glob quoting just quotes everything.

       Some Windows servers use "Win32::CreateProcess" to run the "cmd.exe" shell which runs the requested
       command. In that case, both the "MSCmd" and "MSWin" quoters have to be chained (and BTW, order matters):

          $ssh = Net::OpenSSH->new(...,
                                   remote_shell => 'MSCmd,MSWin');

       Actually, "cmd.exe" may require not quoting at all when the requested command is a builtin (for instance,
       "echo").

Name

       Net::OpenSSH::ShellQuoter::MSCmd - Quoter for Windows cmd.exe

See Also