> I am also not on Windows (who uses that anyway? ;-) )
>   
I'm not either...but our customers are. I'm doing all of my dev work on 
a MacBook Pro running Windows XP in VMWare. (kinda perverse when you 
think about it)

> Perhaps change to;
>
> public class BrowserStarter {
>   public static final void main(String[] args) throws Exception {
>     Process p = Runtime.getRuntime().exec(args[0]);
>     p.waitFor();
>   }
> }
>
> And if that doesn't do it, look up the Pipe class in Pax Runner and add that 
> by;
>
> static Pipe err;
> static Pipe out;
> static Pipe in;
>
> err = new Pipe( process.getErrorStream(), System.err ).start( "error" );
> out = new Pipe( process.getInputStream(), System.out ).start( "out" );
> in = new Pipe( process.getOutputStream(), System.in ).start( "in" );
>
> and the Shutdown hook to cleanup properly.
>
>   
Thanks for the tips...I'll give those a shot first thing tomorrow 
morning and let you know how it goes.


_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to