日期:2014-05-20  浏览次数:20589 次

关于runtime.exec的一个问题
遇到一个问题,我有一个pv.exe,可以直接双击打开运行,并且没有报错。

但是我通过runtime.exec("C:\\Users\\Andy\\Desktop\\New folder\\build\\pv.exe");的时候,出错了,错误如下:

Dubug Assertion Failed!

Programe:C:\Users\Andy\Desktop\New folder\build\pv.exe
File:fscanf.c
Line:54

Exception:stream!=null

For information on how your program can cause an assertion failure, see the Visual C++ document on asserts.

------解决方案--------------------
fscanf.c 是c程序里出错了吧?