def _get_args_for_wrapper_script(self, python_binary, sensor):
        """
        Return CLI arguments passed to the sensor wrapper script.

        :param python_binary: Python binary used to execute wrapper script.
        :type python_binary: ``str``

        :param sensor: Sensor object dictionary.
        :type sensor: ``dict``

        :rtype: ``list``
        """
        trigger_type_refs = sensor["trigger_types"] or []
        trigger_type_refs = ",".join(trigger_type_refs)

        parent_args = json.dumps(sys.argv[1:])

        args = [
            python_binary,
            self._wrapper_script_path,
            "--pack=%s" % (sensor["pack"]),
            "--file-path=%s" % (sensor["file_path"]),
            "--class-name=%s" % (sensor["class_name"]),
            "--trigger-type-refs=%s" % (trigger_type_refs),
            "--parent-args=%s" % (parent_args),
        ]

        if sensor["poll_interval"]:
            args.append("--poll-interval=%s" % (sensor["poll_interval"]))

        return args

        Return CLI arguments passed to the sensor wrapper script.

        :param python_binary: Python binary used to execute wrapper script.
        :type python_binary: ``str``

        :param sensor: Sensor object dictionary.
        :type sensor: ``dict``

        :rtype: ``list``
        
st2reactor/st2reactor/container/process_container.py