Skip to content

change ShellScript() to return a status - #1211

Merged
isc-cborbonm merged 6 commits into
mainfrom
fix-1186
Jul 29, 2026
Merged

change ShellScript() to return a status#1211
isc-cborbonm merged 6 commits into
mainfrom
fix-1186

Conversation

@isc-cborbonm

Copy link
Copy Markdown
Collaborator

Resolves #1186: change ShellScript() to return a status.

Comment thread src/cls/IPM/Main.cls
@isc-cborbonm
isc-cborbonm requested a review from isc-kiyer July 29, 2026 16:26
isc-eneil
isc-eneil previously approved these changes Jul 29, 2026
Comment thread src/cls/IPM/Main.cls Outdated
pOutputLogFile As %String = "",
pAppendToLog As %Boolean = 0)
pAppendToLog As %Boolean = 0,
terminateOnError As %Boolean = 1) As %Status

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: when editing an existing method, stick to the style of that method (use the p prefix here)

@isc-dchui isc-dchui left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this PR is linked to #1186, could you also please spawn off a new issue about tee-ing the IPM output in general?

@isc-cborbonm

Copy link
Copy Markdown
Collaborator Author

Since this PR is linked to #1186, could you also please spawn off a new issue about tee-ing the IPM output in general?

Yeah! I could also unlink it, so that it doesn't close the issue. Would that be preferable?

@isc-dchui

Copy link
Copy Markdown
Collaborator

@isc-cborbonm It depends on the scope. If this change fixes a legitimate distinct problem, which it sounds like it does, then I think it should have an issue attached.

@isc-cborbonm

Copy link
Copy Markdown
Collaborator Author

@isc-cborbonm It depends on the scope. If this change fixes a legitimate distinct problem, which it sounds like it does, then I think it should have an issue attached.

Created new issue #1213 to implement the teeing output feature! 😃

@isc-cborbonm
isc-cborbonm requested a review from isc-dchui July 29, 2026 19:04
@isc-cborbonm
isc-cborbonm merged commit 3042a06 into main Jul 29, 2026
28 of 35 checks passed
@isc-cborbonm
isc-cborbonm deleted the fix-1186 branch July 29, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to write all output from any IPM shell command directly to a file instead of the current device

5 participants