<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def execute_command_in_process(command, shell=False, cwd=None, logger=None):
 """ Executes a specific command in a separate process :param command: the command to be executed :param bool shell: Whether to use a shell :param str cwd: The working directory of the command :param logger: optional logger instance which can be handed from other module :return: None """

    if logger is None:
        logger = _logger
    logger.debug("Run shell command: {0}".format(command))
    try:
        subprocess.Popen(command, shell=shell, cwd=cwd)
        return True
    except OSError as e:
        logger.error('The operating system raised an error: {}'.format(e))
    return False