Commit df27695a authored by Łukasz Nowak's avatar Łukasz Nowak

- revert 44076, it is mistake


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44077 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2829f693
......@@ -4,12 +4,10 @@ import signal
import subprocess
import time
def execute(args, env=None):
def execute(args):
"""Portable execution with process replacement"""
if env is None:
env = {}
# Note: Candidate for slapos.lib.recipe
os.execve(args[0], args, env)
os.execv(args[0], args)
child_pg = None
def sig_handler(signal, frame):
......
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