2011-11-04 34 views

回答

3

你可能想看看source。 Apache Commons Daemon procrun实用程序。这是有点令人畏惧,因为它处理的所有事情,但通常的教训是,你只是想使用它,而不是重新实现它无论如何:)