*** empty log message ***
authorsr
Mon, 13 Jun 2016 14:06:28 +0200
changeset 19984 584c3db7e691
parent 19981 b976ae341040
child 19985 19f838cc0bd5
*** empty log message ***
Smalltalk.st
--- a/Smalltalk.st	Fri Jun 10 04:05:24 2016 +0000
+++ b/Smalltalk.st	Mon Jun 13 14:06:28 2016 +0200
@@ -4008,7 +4008,10 @@
 	    [
 		Screen openDefaultDisplay:nil.
 	    ] on:Screen deviceOpenErrorSignal do:[:ex|
-		('%1 [error]: No display connection to: %2' bindWith:commandName with:ex parameter) errorPrintCR.
+                "do not use #errorPrintCR, it is no error, when an app supports display and no display.
+                 in case shell exec 'app --version' we do not want this error string as part of the output"
+                ('%1 [error]: No display connection to: %2' bindWith:commandName with:ex parameter) infoPrintCR.
+"/                ('%1 [error]: No display connection to: %2' bindWith:commandName with:ex parameter) errorPrintCR.
 		(commandName, ' [info]: Either set the DISPLAY environment variable,') infoPrintCR.
 		(commandName, ' [info]: or start smalltalk with a -display argument.') infoPrintCR.
 		HeadlessOperation == true ifFalse:[