def start_inkscape():
    process = subprocess.Popen(
        [INKSCAPE, '--shell'],
        bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE
        )
    wait_for_prompt(process)
    return process