On Mon, 2005-10-31 at 23:22 +0000, Christoph Zwerschke wrote: 
> By the way, I also thought about adding a generic Webware Posix start 
> script that is not a shell script, but a pure Python script. Would that 
> be a silly idea? I think it should work, using the shebang mechanism.
> 
> -- Christoph

I don't think it is a silly idea at all. To continue the logic you used
earlier... if you are running Webware you are guaranteed to have Python
installed so an init script written in Python would work fine.

I wish that Python was considered a standard component of a base install
(for most distros it probably is in actuality) and that the whole init
system was rewritten in Python. When I see things like:

<snip>
if test "x$my_variable" = "x"; then
</snip>

... it kind of feels like you are using the wrong tool for the job. I
mean, I understand why it is done with shell scripts I just wish it
wasn't that way (and it shouldn't have to be when Python is as
ubiquitous as it is). Ubuntu is at least heading down the right path,
using Python for most of their administration tools.

-Seth
-- 
Seth Remington <[EMAIL PROTECTED]>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to