鉴于可执行文件Sea.exe
向stderr
引发错误,请比较两者:
Windows cmd.exe
:
D:\Dev\Sea\Export\windows\neko\debug\bin>Sea.exe
Called from thx.fp._Map.Map_Impl_::$statics line 1
Called from ApplicationMain::main line 143
Called from ApplicationMain::create line 26
Called from lime.app.Preloader::create line 58
Called from openfl.display.Preloader::start line 93
Called from NMEPreloader::onLoaded line 107
Called from openfl.events.EventDispatcher::dispatchEvent line 95
Called from openfl.display.DisplayObject::__dispatchEvent line 269
Called from openfl.events.EventDispatcher::__dispatchEvent line 237
Called from openfl.display.Preloader::display_onComplete line 129
Called from lime.app.Preloader::start line 242
Called from lime.app.Event_Void_Void::dispatch line 145
Called from ApplicationMain::init line 87
Called from ApplicationMain::start line 173
Called from Type::createInstance line 109
Called from DocumentClass::$init line 212
Called from DocumentClass::new line 239
Called from Main::new line 13
Uncaught exception - Invalid operation (+)
AL lib: (EE) alc_cleanup: 1 device not closed
和git bash / mingw64:
test@test-HP MINGW64 /d/Dev/Sea/Export/windows/neko/debug/bin (master)
$ ./Sea.exe
AL lib: (EE) alc_cleanup: 1 device not closed
我检查了异常是否写入stderr
,使用:
Windows cmd.exe
:
D:\Dev\Sea\Export\windows\neko\debug\bin>Sea.exe 2> nul
D:\Dev\Sea\Export\windows\neko\debug\bin>
我不知道可以找到原因。 VM是否检测到伪linux环境并在某些不同的流中打印消息?
谢谢。