Shell.GetMergeErrorAndOutput
----------------------------

Queries whether to use one pipe or two pipes for output and error.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Shell](component_Shell.md) | [15.0](newinversion150.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "Shell.GetMergeErrorAndOutput"; ShellRef ) 

**MBS**( **"Shell.GetMergeErrorAndOutput";** /\* Queries whether to use one pipe or two pipes for output and error. \*/  
**$ShellRef**) /\* The reference number from the shell.e.g. $shell \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ShellRef | The reference number from the shell. | $shell |

### Result

Returns 1, 0 or error.

### Description

Queries whether to use one pipe or two pipes for output and error.  
By default this is false and we receive error and output in two different pipes.  
Optionally you can merge both to output pipe.  
### See also

- [Shell.SetMergeErrorAndOutput](ShellSetMergeErrorAndOutput.md)

### Release notes

- **Version 15.0**
    - Added [Shell.SetMergeErrorAndOutput](https://www.mbsplugins.eu/ShellSetMergeErrorAndOutput.shtml) and [Shell.GetMergeErrorAndOutput](https://www.mbsplugins.eu/ShellGetMergeErrorAndOutput.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 15.0](https://www.mbsplugins.de/archive/2025-01-21/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.0pr7](https://www.mbsplugins.de/archive/2025-01-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 30th December 2024 , last changed 30th December 2024

  
[Shell.GetEnvironment](ShellGetEnvironment.md) - [Shell.GetPassword](ShellGetPassword.md)

[HTML Version](ShellGetMergeErrorAndOutput.shtml)