AbstractOperatingSystem.st
changeset 24108 7a3a01285e59
parent 24019 89ab38cd7df2
child 24131 e3c41bf36fa1
equal deleted inserted replaced
24107:5a6df1f710ff 24108:7a3a01285e59
  2618 
  2618 
  2619     self subclassResponsibility
  2619     self subclassResponsibility
  2620 !
  2620 !
  2621 
  2621 
  2622 commandNeedsShowWindowFlag:cmd
  2622 commandNeedsShowWindowFlag:cmd
  2623     "this is a windows speciality (again).
  2623     "this is a windows speciality.
  2624      Check against the set of commands which need the showWindow flag."
  2624      Check against the set of commands which need the showWindow flag."
  2625 
  2625 
  2626     "kludge - notepad.exe on Windows does not open a window without showWindow set to true.
       
  2627      all others like notepad++, excel, libreoffice do"
       
  2628 
       
  2629     "/ please refactor into Win32OperatingSystem...
       
  2630     "/ I have non at the moment
       
  2631     self isMSWINDOWSlike ifTrue:[
       
  2632         (cmd includesString:'notepad.exe') ifTrue:[^ true].
       
  2633     ].
       
  2634     ^ false.
  2626     ^ false.
       
  2627 
       
  2628     "Modified (comment): / 07-05-2019 / 08:21:47 / Stefan Vogel"
  2635 !
  2629 !
  2636 
  2630 
  2637 executableFileExtensions
  2631 executableFileExtensions
  2638     "return a collection of extensions for executable program files.
  2632     "return a collection of extensions for executable program files.
  2639      Only req'd for msdos & vms like systems ..."
  2633      Only req'd for msdos & vms like systems ..."