def convert_command_to_arguments(command_line):
    """
    Converts command line to list of arguments, where 1 item = 1 command parameter.
    Be aware that some parameters can consists of multiple words (ex.: -Y "not tcp and not udp").
    :param command_line: Command line.
    :rtype: List of arguments for Popen.
    """
    argument_list = []
    command_line += "\""
    part = command_line.split("\"")
    for i in range(0, int(len(part) / 2)):
        argument_list += part[i * 2].strip().split(" ")
        if part[i * 2 + 1] != "":
            argument_list += [part[i * 2 + 1]]
    argument_list = [x for x in argument_list if len(x)]
    return argument_list