Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Shell.SetMergeErrorAndOutput
Sets whether to use one pipe or two pipes for output and error.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Shell | 15.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
MBS( "Shell.SetMergeErrorAndOutput"; ShellRef; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
ShellRef | The reference number from the shell. | $shell |
Value | The new setting. Pass 1 to merge or 0 to leave split. |
1 |
Result
Returns OK or error.
Description
Sets whether to use one pipe or two pipes for output and error.Examples
Use one pipe for error and output:
Set Variable [ $r ; Value: MBS("Shell.SetMergeErrorAndOutput"; $shell; 1) ]
See also
Release notes
- Version 15.0
- Added Shell.SetMergeErrorAndOutput and Shell.GetMergeErrorAndOutput functions.
Blog Entries
This function is free to use.
Created 30th December 2024, last changed 31st December 2024