--- a/StandaloneStartup.st Tue Nov 09 13:54:57 2010 +0000
+++ b/StandaloneStartup.st Tue Nov 09 16:24:28 2010 +0000
@@ -262,7 +262,7 @@
!
isAnotherApplicationInstanceRunning
- "answer true, if another instance of mzself is currently running.
+ "answer true, if another instance of myself is currently running.
For now, it only works under win32, because it uses the underlying mutex mechanism."
| lastErrorCode alreadyExists handleAndLastErrorCode |
@@ -282,6 +282,8 @@
].
^ false.
+
+ "Modified: / 01-10-2010 / 18:27:29 / cg"
!
processStartupOfASecondInstance
@@ -657,9 +659,9 @@
self verboseInfo:('args: ', CommandLineArguments asStringCollection asString).
- "--noRemote - do not reuse an existing application instance,
+ "--newAppInstance - do not reuse an existing application instance,
but run in a separate process"
- idx := CommandLineArguments indexOfAny:#('--noRemote').
+ idx := CommandLineArguments indexOfAny:#('--newAppInstance').
idx == 0 ifTrue:[
self shouldReuseRunningApplication ifTrue:[
"Multiple Application support:
@@ -685,7 +687,7 @@
self main
].
- "Modified: / 04-08-2010 / 12:30:05 / cg"
+ "Modified: / 06-10-2010 / 09:43:44 / cg"
!
startStartBlockProcess
@@ -707,26 +709,23 @@
!
usage
- Stderr nextPutLine:'usage:'.
- Stderr nextPutLine:' ',self applicationName,' [options...]'.
- Stderr nextPutLine:' options:'.
- Stderr nextPutLine:' --help .................. output this message'.
- Stderr nextPutLine:' --verbose ............... verbose startup'.
- Stderr nextPutLine:' --noBanner .............. no splash screen'.
- self shouldReuseRunningApplication ifTrue:[
- Stderr nextPutLine:' --noRemote .............. start as an own application process and do not reuse a running instance'.
- ].
+ Stderr nextPutLine:'usage: ',self applicationName,' [options...]'.
+ Stderr nextPutLine:' --help .................. output this message'.
+ Stderr nextPutLine:' --verbose ............... verbose startup'.
+ Stderr nextPutLine:' --noBanner .............. no splash screen'.
+ Stderr nextPutLine:' --newAppInstance ........ start as its own application process (do not reuse a running instance)'.
self allowScriptingOption ifTrue:[
- Stderr nextPutLine:' --scripting portNr ...... enable scripting via port (or stdin/stdOut, if 0)'.
+ Stderr nextPutLine:' --scripting portNr ...... enable scripting via port (or stdin/stdOut, if 0)'.
].
self allowDebugOption ifTrue:[
- Stderr nextPutLine:' --debug ................. enable Debugger'.
+ Stderr nextPutLine:' --debug ................. enable Debugger'.
].
self suppressRCFileReading ifFalse:[
- Stderr nextPutLine:' --rcFileName file ....... execute code from file on startup (default: ',self startupFilename,')'.
+ Stderr nextPutLine:' --rcFileName file ....... execute code from file on startup (default: ',self startupFilename,')'.
].
"Created: / 19-09-2006 / 16:37:55 / cg"
+ "Modified: / 06-10-2010 / 09:52:18 / cg"
! !
!StandaloneStartup class methodsFor:'startup-to be redefined'!
@@ -798,15 +797,15 @@
!StandaloneStartup class methodsFor:'documentation'!
version
- ^ '$Id: StandaloneStartup.st 10564 2010-08-10 08:55:15Z vranyj1 $'
+ ^ '$Id: StandaloneStartup.st 10590 2010-11-09 16:24:28Z vranyj1 $'
!
version_CVS
- ^ 'Header: /cvs/stx/stx/libbasic/StandaloneStartup.st,v 1.50 2010/08/06 10:51:41 stefan Exp '
+ ^ 'Header: /cvs/stx/stx/libbasic/StandaloneStartup.st,v 1.53 2010-10-06 07:54:45 cg Exp '
!
version_SVN
- ^ '$Id: StandaloneStartup.st 10564 2010-08-10 08:55:15Z vranyj1 $'
+ ^ '$Id: StandaloneStartup.st 10590 2010-11-09 16:24:28Z vranyj1 $'
! !
StandaloneStartup initialize!
@@ -814,3 +813,4 @@
+