mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-01-20 11:31:05 -08:00
[Windows] "my_app/": prevent crash of gui exe on print output
This commit is contained in:
parent
b59821c838
commit
10c6c4d2a3
3 changed files with 9 additions and 10 deletions
11
src/eql.cpp
11
src/eql.cpp
|
|
@ -39,12 +39,13 @@ QString EQL::home() {
|
|||
path.append('/'); }
|
||||
return path; }
|
||||
|
||||
/*
|
||||
void EQL::ignoreIOStreams() {
|
||||
// [Windows] print output would cause the executable to crash
|
||||
// TODO
|
||||
}
|
||||
*/
|
||||
// [Windows] print output would cause a gui exe to crash (without console)
|
||||
eval("(setf *standard-output* (make-broadcast-stream)"
|
||||
" *trace-output* *standard-output*"
|
||||
" *error-output* *standard-output*"
|
||||
" *terminal-io* (make-two-way-stream (make-string-input-stream \"\")"
|
||||
" *standard-output*))"); }
|
||||
|
||||
void EQL::exec(const QStringList& args) {
|
||||
cl_object s_qtpl = cl_intern(1, make_constant_base_string("*QTPL*"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue