You can specify a path to a configuration file, that's something a typical Unix 
daemon do. You can allow multiple such options to combine multiple configs that 
specify different parts of the program behavior. There's otherwise no way 
around the ARG_MAX limit, unless you alter kernel configurations - you usually 
don't have to re-compile the kernel, but you'll do have to reboot.

________________________________________
发件人: [email protected] <[email protected]> 代表 Hans Åberg 
via austin-group-l at The Open Group <[email protected]>
发送时间: 2025年7月24日 21:24
收件人: [email protected]
主题: Long command line arguments

I seek some inputs on the practice of using long command lines, like in the 
link below. The issue came up on the C++ standardization list, over concerns 
when admitting C++ types as arguments in the function “main”.

https://stackoverflow.com/questions/33051108/how-to-get-around-the-linux-too-many-arguments-limit/33278482




  • Long command line argumen... Hans Åberg via austin-group-l at The Open Group
    • 回复: Long command lin... Niu Danny via austin-group-l at The Open Group
      • Re: Long command... Hans Åberg via austin-group-l at The Open Group
        • Re: Long com... Niu Danny via austin-group-l at The Open Group
          • Re: Long... Hans Åberg via austin-group-l at The Open Group
        • Re: Long com... Hans Åberg via austin-group-l at The Open Group
          • Re: Long... Niu Danny via austin-group-l at The Open Group
            • Re:... Hans Åberg via austin-group-l at The Open Group
              • ... Niu Danny via austin-group-l at The Open Group
                • ... Hans Åberg via austin-group-l at The Open Group
              • ... Guy Harris via austin-group-l at The Open Group
                • ... Hans Åberg via austin-group-l at The Open Group

Reply via email to