Пример #1
0
    def on_process_finished(self, exitCode, exitStatus, p_id):
        """Callback event handler for a process completing.

        Args:
            exitCode (int): Return code from running the process.
            exitStatus (str): Description message of process exit.
            p_id (str): PID of completed process.
        """
        common.on_process_finished(self, p_id)
Пример #2
0
    def on_process_finished(self, exitCode, exitStatus, p_id):
        """Callback event handler for a process completing.

        Args:
            exitCode (int): Return code from running the process.
            exitStatus (str): Description message of process exit.
            p_id (str): PID of completed process.
        """
        if self.parent.is_aws:
            remote_rigs = os.path.join(self.parent.ui_flags.project_root,
                                       "rigs/")
            run_command(f"aws s3 sync {self.path_rigs} {remote_rigs}")
        common.on_process_finished(self, p_id)