2008/8/1 Niclas Hedhman <[EMAIL PROTECTED]>

> On Friday 01 August 2008 05:35, Craig Walls wrote:
> > Any clue what this is? I'm completely guessing, but it seems like it's
> > trying to read input from STDIN and (since this is running as a service)
> > it can't...there is no STDIN.
>
> Ah!!!!!
>
> You have hit the nail straight on the head with that one.
>
> As a Service, System.in (System.out??) is not available, and the wrapper
> needs
> to do the Pipe in the current general way in case the underlying
> application
> actually needs System.in (regardless of Console). So, we would need to
> provide a --no-system-in switch I guess, or even simpler; If there is
> exceptions in Pipe reading the streams, don't try forever...
>

correct - I'm coming to the same conclusion, will try to add
some logic to detect if there's an attached console or not...

Cheers
> --
> Niclas Hedhman, Software Developer
>
> I  live here; http://tinyurl.com/2qq9er
> I  work here; http://tinyurl.com/2ymelc
> I relax here; http://tinyurl.com/2cgsug
>
> _______________________________________________
> general mailing list
> general@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/general
>



-- 
Cheers, Stuart
_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to