main 函数中的 argc 参数不包含重定向 Command('<','>')。
但是,我在使用双引号时遇到了一个令人困惑的问题。
外壳(CMD)
3,是的!a.exe aa bb < input.txt
Run Code Online (Sandbox Code Playgroud)
3,但是5,我只想输入double quote作为参数。a.exe \" bb < input.txt
Run Code Online (Sandbox Code Playgroud)
我的系统
操作系统:windows 11,外壳:window CMD