Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run time error logging with run command
#1
In one of my QM functions I have to rum a fortran executable :

    run F"{d_root}\exe\gamma.exe" "" "" "" 0x400

It works, unless there exists a run time error, when error logging is lost. I wonder whether  there exists a way to overcome this problem. I have tried to use RunConsole instead, but I failed. Any advice is mostly welcome. Many thanks in advance.
#2
This is the solution I finally implemented. It works. Nevertheless, any advice is still mostly welcome!

str cl="/c gamma.exe 2>''C:\tmp\tzuni.txt''"

run "%comspec%" cl "" "C:\MSDEV\ses\spu\gamma"


Forum Jump:


Users browsing this thread: 1 Guest(s)