Hi!
I use (I guess like everyone) a start.sh bash to launch my app. It
starts with a kill, which is actually succeeding in killing the server
but it also outputs lots of stuff "as if" something was going wrong
with 'Iliad.SwazooIliad stop'.
The starting bash snippet is
========
#!/bin/sh
CURR_DIR=`pwd`
echo "Killing gst-remote --server"
gst-remote --eval 'Iliad.SwazooIliad stop'
sleep 2
gst-remote --kill
....
===============
output is:
START OUTPUT
====================
Killing gst-remote --server
Object: File error: Bad file descriptor
SystemExceptions.FileError(Signal)>>pass (ExcHandling.st:587)
optimized [] in UndefinedObject>>executeStatements
(../../local/share/smalltalk/scripts/Remote.st:238)
SystemExceptions.FileError(Signal)>>activateHandler:
(ExcHandling.st:719)
SystemExceptions.FileError(Exception)>>signal (AnsiExcept.st:216)
SystemExceptions.FileError class(Exception class)>>signal:
(AnsiExcept.st:79)
File class>>checkError: (File.st:85)
optimized [] in Sockets.AbstractSocketImpl>>ensureReadable
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:442)
BlockClosure>>ensure: (BlkClosure.st:269)
optimized [] in Sockets.AbstractSocketImpl>>ensureReadable
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:442)
Sockets.TCPSocketImpl(Sockets.AbstractSocketImpl)>>fileOp:with:ifFail:
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:151)
Sockets.TCPSocketImpl(Sockets.AbstractSocketImpl)>>ensureReadable
(Sockets.star#VFS.ZipFile/AbstractSocketImpl.st:442)
Sockets.ServerSocket>>waitForConnection
(Sockets.star#VFS.ZipFile/Sockets.st:974)
optimized [] in UndefinedObject>>executeStatements
(../../local/share/smalltalk/scripts/Remote.st:208)
BlockClosure>>repeat (BlkClosure.st:318)
optimized [] in UndefinedObject>>executeStatements
(../../local/share/smalltalk/scripts/Remote.st:204)
BlockClosure>>on:do: (BlkClosure.st:192)
optimized [] in UndefinedObject>>executeStatements
(../../local/share/smalltalk/scripts/Remote.st:234)
[] in Process>>onBlock:at:suspend: (Process.st:384)
BlockClosure>>on:do: (BlkClosure.st:192)
[] in Process>>onBlock:at:suspend: (Process.st:387)
BlockClosure>>ensure: (BlkClosure.st:269)
[] in Process>>onBlock:at:suspend: (Process.st:393)
[] in BlockClosure>>asContext: (BlkClosure.st:178)
BlockContext class>>fromClosure:parent: (BlkContext.st:68)
==============
END OUTPUT
Not that it makes a real difference, since the kill that follows does
its job, yet I thought it could be useful for debugging
Berto
_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk