Execute a Shell Script - Error : (stderr) The Command line is too long

Execute a Shell Script - Error : (stderr) The Command line is too long

Issue

We get the below error when we use Execute a Shell Script Plugin.

This happens when you enter the character or character in a Parameter that is more than the Windows character Limit. 




NOTE : The maximum length of the string that you can use at the command prompt / Plugin is 8191 characters. If the Character in the plugin is more than that, the process will fail.

How To Reproduce

You can enter the more than 8191  character / character in Parameter in the plugin to reproduce this issue.

Resolution

To resolve this kind of issue, we suggest to use 2 plugin instead of 1 plugin to execute more that 8198 characters.

      Links to better reach 

            Bot Store

             EPD