equal
deleted
inserted
replaced
1822 OperatingSystem canExecuteCommand:'fooBar' |
1822 OperatingSystem canExecuteCommand:'fooBar' |
1823 OperatingSystem canExecuteCommand:'ls' |
1823 OperatingSystem canExecuteCommand:'ls' |
1824 OperatingSystem canExecuteCommand:'cvs' |
1824 OperatingSystem canExecuteCommand:'cvs' |
1825 OperatingSystem canExecuteCommand:'diff' |
1825 OperatingSystem canExecuteCommand:'diff' |
1826 OperatingSystem canExecuteCommand:'cvs.exe' |
1826 OperatingSystem canExecuteCommand:'cvs.exe' |
1827 " |
1827 OperatingSystem canExecuteCommand:'hg' |
1828 |
1828 OperatingSystem pathOfCommand:'hg' |
1829 "Created: 4.11.1995 / 19:13:54 / cg" |
1829 " |
|
1830 |
|
1831 "Created: / 04-11-1995 / 19:13:54 / cg" |
1830 ! |
1832 ! |
1831 |
1833 |
1832 commandAndArgsForOSCommand:aCommandString |
1834 commandAndArgsForOSCommand:aCommandString |
1833 "get a shell and shell arguments for command execution" |
1835 "get a shell and shell arguments for command execution" |
1834 |
1836 |
1870 pathOfSTXExecutable |
1872 pathOfSTXExecutable |
1871 "return the full path of the running ST/X executable program. |
1873 "return the full path of the running ST/X executable program. |
1872 Usually, '.../stx' is returned - |
1874 Usually, '.../stx' is returned - |
1873 but may be different for standAlone apps (or winstx.exe)." |
1875 but may be different for standAlone apps (or winstx.exe)." |
1874 |
1876 |
1875 ^ self pathOfCommand:(self nameOfSTXExecutable) |
1877 |path| |
|
1878 |
|
1879 path := self pathOfCommand:(self nameOfSTXExecutable). |
|
1880 self assert:(path notNil). |
|
1881 ^ path |
1876 |
1882 |
1877 " |
1883 " |
1878 OperatingSystem pathOfSTXExecutable |
1884 OperatingSystem pathOfSTXExecutable |
1879 " |
1885 " |
|
1886 |
|
1887 "Modified: / 20-01-2012 / 12:52:46 / cg" |
1880 ! ! |
1888 ! ! |
1881 |
1889 |
1882 !AbstractOperatingSystem class methodsFor:'executing OS commands-wrappers'! |
1890 !AbstractOperatingSystem class methodsFor:'executing OS commands-wrappers'! |
1883 |
1891 |
1884 exec:aCommandPath withArguments:argArray |
1892 exec:aCommandPath withArguments:argArray |
7094 ! ! |
7102 ! ! |
7095 |
7103 |
7096 !AbstractOperatingSystem class methodsFor:'documentation'! |
7104 !AbstractOperatingSystem class methodsFor:'documentation'! |
7097 |
7105 |
7098 version |
7106 version |
7099 ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.217 2012/01/05 14:29:48 cg Exp $' |
7107 ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.219 2012/01/20 12:33:14 cg Exp $' |
7100 ! |
7108 ! |
7101 |
7109 |
7102 version_CVS |
7110 version_CVS |
7103 ^ 'Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.217 2012/01/05 14:29:48 cg Exp ' |
7111 ^ 'Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.219 2012/01/20 12:33:14 cg Exp ' |
7104 ! |
7112 ! |
7105 |
7113 |
7106 version_SVN |
7114 version_SVN |
7107 ^ '$Id: AbstractOperatingSystem.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
7115 ^ '$Id: AbstractOperatingSystem.st 10763 2012-01-22 23:07:15Z vranyj1 $' |
7108 ! ! |
7116 ! ! |
7109 |
7117 |
7110 AbstractOperatingSystem initialize! |
7118 AbstractOperatingSystem initialize! |
7111 |
7119 |
7112 |
7120 |
7113 |
7121 |
7114 |
7122 |
|
7123 |