What to do with “The input line is too long” error message?

后端 未结 6 1140
悲哀的现实
悲哀的现实 2020-12-14 23:17

I am trying to use os.system() to call another program that takes an input and an output file. The command I use is ~250 characters due to the long folder names.

Wh

6条回答
  •  星月不相逢
    2020-12-15 00:12

    I got the same message but it was strange because the command was not that long (130 characters) and it used to work, it just stopped working one day. I just closed the command window and opened a new one and it worked. I have had the command window opened for a long time (maybe months, it's a remote virtual machine). I guess is some windows bug with a buffer or something.

提交回复
热议问题