Process.Start - Pass html code to exe as argument

后端 未结 4 1115
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-19 05:09

I am using the code below to start a executable file from a windows service and I need to pass html code (stored in a variable) as an argument. I am escaping with double quo

4条回答
  •  情书的邮戳
    2021-01-19 05:52

    Be careful not to pass too much on the command-line:

    • What is the command line length limit?

    I think 2000+ characters is starting to get too long.

提交回复
热议问题