Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

EC.EXE

csmythe
Beginner
809 Views
I have been trying to use the utility EC.EXE to capture command-line error messages to a file. I'm having two difficulties:

first, EC crashes if the file pathnames in the command have any spaces. E.g.

EC "c:program filesexecutable.exe"

doesn't work.

Second, there seems to be a limit on the length of the command line EC can accept. It seems to work or not depending on the length of the pathnames. Is that correct?

Thanks,
Chuck Smythe
0 Kudos
2 Replies
james1
Beginner
809 Views
Cannot help you with EC, but perhaps you can trap your error message by using command line redirection of standard error. Depends on your OS I believe.

James
0 Kudos
Steven_L_Intel1
Employee
809 Views
I can reproduce the problem with the embedded spaces. I'll ask the engineer who wrote it why this is.

Steve
0 Kudos
Reply