AbstractOperatingSystem.st
changeset 5861 24ee164045bd
parent 5857 75c7b5074add
child 5918 0d8bc97e7106
equal deleted inserted replaced
5860:5bd2ece3d750 5861:24ee164045bd
  1407      'sh -c' in your UNIX manual.
  1407      'sh -c' in your UNIX manual.
  1408      Return true if successful.
  1408      Return true if successful.
  1409      If not successfull, aBlock is called with an OsProcessStatus
  1409      If not successfull, aBlock is called with an OsProcessStatus
  1410      (containing the exit status) as argument."
  1410      (containing the exit status) as argument."
  1411 
  1411 
       
  1412     <resource:#obsolete>
       
  1413 
  1412     self obsoleteMethodWarning:'use executeCommand:inDirectory:onError:'.
  1414     self obsoleteMethodWarning:'use executeCommand:inDirectory:onError:'.
  1413 
  1415 
  1414     ^ self
  1416     ^ self
  1415         executeCommand:aCommandString 
  1417         executeCommand:aCommandString 
  1416         inputFrom:nil 
  1418         inputFrom:nil 
  2012 ! !
  2014 ! !
  2013 
  2015 
  2014 !AbstractOperatingSystem class methodsFor:'file queries'!
  2016 !AbstractOperatingSystem class methodsFor:'file queries'!
  2015 
  2017 
  2016 baseNameOf:aPath
  2018 baseNameOf:aPath
       
  2019     <resource:#obsolete>
       
  2020 
  2017     self obsoleteMethodWarning:'use asFilename baseName'.
  2021     self obsoleteMethodWarning:'use asFilename baseName'.
  2018     ^ aPath asFilename baseName
  2022     ^ aPath asFilename baseName
  2019 !
  2023 !
  2020 
  2024 
  2021 caseSensitiveFilenames
  2025 caseSensitiveFilenames
  2034 
  2038 
  2035     self subclassResponsibility
  2039     self subclassResponsibility
  2036 !
  2040 !
  2037 
  2041 
  2038 directoryNameOf:aPath
  2042 directoryNameOf:aPath
       
  2043     <resource:#obsolete>
       
  2044 
  2039     self obsoleteMethodWarning:'use asFilename directoryName'.
  2045     self obsoleteMethodWarning:'use asFilename directoryName'.
  2040     ^ aPath asFilename directoryName
  2046     ^ aPath asFilename directoryName
  2041 !
  2047 !
  2042 
  2048 
  2043 fileSeparator
  2049 fileSeparator
  4248 ! !
  4254 ! !
  4249 
  4255 
  4250 !AbstractOperatingSystem class methodsFor:'documentation'!
  4256 !AbstractOperatingSystem class methodsFor:'documentation'!
  4251 
  4257 
  4252 version
  4258 version
  4253     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.47 2001-05-08 14:50:44 cg Exp $'
  4259     ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.48 2001-05-17 14:04:08 stefan Exp $'
  4254 ! !
  4260 ! !
  4255 AbstractOperatingSystem initialize!
  4261 AbstractOperatingSystem initialize!