[Py4j-users] Starting/stopping py4j server from within python?
Status: Beta
Brought to you by:
barthe
From: Thomas N. <tom...@gm...> - 2014-12-08 20:47:02
|
Hello, What would be the best way for me to start and stop the py4j server from within python? I know I could use > os.system("java ...") to start the server. I guess I would need a subprocess for that not to block. Then to stop it I could send it a kill signal. Is this the best way to do it? Is there a way for me to do this in a less directly-managed fashion? This is okay for me, but the users of what I'm making probably would have trouble... Cheers, Thomas |