Kmeersch Posted December 22, 2008 Share Posted December 22, 2008 Is it possible to pipe errors form compiled script to a logfile. Is /ErrorStdOut an option? example.exe /ErrorStdOut > error.txt thx for the response. Link to comment Share on other sites More sharing options...
Skruge Posted December 22, 2008 Share Posted December 22, 2008 Yes, it works. [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
Kmeersch Posted December 23, 2008 Author Share Posted December 23, 2008 ?? error.txt is empty ... Link to comment Share on other sites More sharing options...
Developers Jos Posted December 23, 2008 Developers Share Posted December 23, 2008 (edited) Just created a script that generates an error. Then ran it from the cmd prompt with "OpenInScite33.exe /ErrorStdOut > error.txt" and the error.txt contained the error. OpenInScite33.exe (-1) : ==> Variable used without being declared.: Which errors are you trying to capture? Edited December 23, 2008 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Kmeersch Posted December 23, 2008 Author Share Posted December 23, 2008 line -1 array have incoorect number of subscripts or subscript dimension range exceeded code for the compiled script: $a=$cmdline[5] Link to comment Share on other sites More sharing options...
Kmeersch Posted December 23, 2008 Author Share Posted December 23, 2008 is it possible to get the line number of the script where the error occurs? line -1 array have incoorect number of subscripts or subscript dimension range exceeded code for the compiled script: $a=$cmdline[5] Link to comment Share on other sites More sharing options...
Developers Jos Posted December 23, 2008 Developers Share Posted December 23, 2008 no, that is never given when a compiled script is ran as they do not match the original source anymore. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now