Commit f9c8616f authored by Nicolas Delaby's avatar Nicolas Delaby

Hide output message of server


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42071 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4e337224
...@@ -7,7 +7,7 @@ from time import sleep ...@@ -7,7 +7,7 @@ from time import sleep
from cloudooo.handler.ooo.utils.utils import socketStatus from cloudooo.handler.ooo.utils.utils import socketStatus
from ConfigParser import ConfigParser from ConfigParser import ConfigParser
from os import chdir, path, environ, curdir from os import chdir, path, environ, curdir
from subprocess import Popen from subprocess import Popen, PIPE
ENVIRONMENT_PATH = path.abspath(path.dirname(__file__)) ENVIRONMENT_PATH = path.abspath(path.dirname(__file__))
...@@ -84,7 +84,7 @@ def run(): ...@@ -84,7 +84,7 @@ def run():
if DAEMON: if DAEMON:
command = [paster_path, "serve", server_cloudooo_conf] command = [paster_path, "serve", server_cloudooo_conf]
process = Popen(command) process = Popen(command, stdout=PIPE, stderr=PIPE)
wait_use_port(hostname, openoffice_port) wait_use_port(hostname, openoffice_port)
wait_use_port(hostname, server_port) wait_use_port(hostname, server_port)
chdir(ENVIRONMENT_PATH) chdir(ENVIRONMENT_PATH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment