#REFACTORING by stefan
class: Win32OperatingSystem class
added: #commandNeedsShowWindowFlag:
--- a/Win32OperatingSystem.st Tue May 07 10:08:34 2019 +0200
+++ b/Win32OperatingSystem.st Tue May 07 10:11:08 2019 +0200
@@ -1092,7 +1092,6 @@
"Modified: 7.1.1997 / 19:36:11 / stefan"
! !
-
!Win32OperatingSystem class methodsFor:'OS signal constants'!
sigABRT
@@ -4774,6 +4773,20 @@
"Created: / 08-11-2016 / 21:23:17 / cg"
! !
+!Win32OperatingSystem class methodsFor:'executing OS commands-queries'!
+
+commandNeedsShowWindowFlag:cmd
+ "this is a windows speciality (again).
+ Check against the set of commands which need the showWindow flag."
+
+ "kludge - notepad.exe on Windows does not open a window without showWindow set to true.
+ all others like notepad++, excel, libreoffice do"
+
+ ^ cmd includesString:'notepad.exe'.
+
+ "Modified: / 07-05-2019 / 08:05:38 / Stefan Vogel"
+! !
+
!Win32OperatingSystem class methodsFor:'file access'!
basicRemoveFile:fullPathName