Windows _popen函数 会吃了前后双引号.
例如,
"c:/a sd/blhost" -u -- write-memory 0x70010000 "c:/a sd/asd.bin"
会被吃掉前后引号变为
c:/a sd/blhost" -u -- write-memory 0x70010000 "c:/a sd/asd.bin
解决办法是增加额外的引号, 即
""c:/a sd/blhost" -u -- write-memory 0x70010000 "c:/a sd/asd.bin"
然后被吃掉前后引号变为
"c:/a sd/blhost" -u -- write-memory 0x70010000 "c:/a sd/asd.bin
(最后面的引号研究不深入, 好像会补回去)
标签:bin,双引号,Windows,popen,blhost,write,0x70010000,memory,sd From: https://www.cnblogs.com/faiz-lisp/p/17262234.html