Browse Source

Only display stacktraces in a window on Windows platform (#772)

Jan Stolarek 5 years ago
parent
commit
92b22d9c93
1 changed files with 5 additions and 1 deletions
  1. 5 1
      hxd/System.hl.hx

+ 5 - 1
hxd/System.hl.hx

@@ -158,7 +158,11 @@ class System {
 		#if usesys
 		haxe.System.reportError(err + stack);
 		#else
-		Sys.println(err + stack);
+		Sys.stderr().writeString(err + stack + "\n");
+
+		if ( Sys.systemName() != 'Windows' )
+			return;
+
 		if( dismissErrors )
 			return;