当前位置: 代码迷 >> Java相关 >> 关于runtime.exec的一个有关问题
  详细解决方案

关于runtime.exec的一个有关问题

热度:2676   发布时间:2013-02-25 21:46:10.0
关于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程序里出错了吧?
  相关解决方案