Shell.SetCompletedEvaluate
--------------------------

Sets expression to be run when shell is done.

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

MBS( "Shell.SetCompletedEvaluate"; ShellRef; Expression ) 

**MBS**( **"Shell.SetCompletedEvaluate";** /\* Sets expression to be run when shell is done. \*/  
**$ShellRef**; /\* The reference number from the shell.e.g. $shell \*/   
**$Expression**) /\* The expression to evaluate.e.g. "Let ( $$Done = 1 ; 1 )" \*/ 

(old name: Shell.SetEvaluate)

### Parameters

| Parameter | Description | Example |
|---|---|---|
| ShellRef | The reference number from the shell. | $shell |
| Expression | The expression to evaluate. | "Let ( $$Done = 1 ; 1 )" |

### Result

Returns OK or error.

### Description

Sets expression to be run when shell is done.  
### See also

- [Shell.GetCompletedEvaluate](ShellGetCompletedEvaluate.md)
- [Shell.SetCompletedScript](ShellSetCompletedScript.md)

### Release notes

- **Version 10.0**
    - Renamed [Shell.SetEvaluate](https://www.mbsplugins.eu/ShellSetCompletedEvaluate.shtml) to [Shell.SetCompletedEvaluate](https://www.mbsplugins.eu/ShellSetCompletedEvaluate.shtml) and [Shell.GetEvaluate](https://www.mbsplugins.eu/ShellGetCompletedEvaluate.shtml) to [Shell.GetCompletedEvaluate](https://www.mbsplugins.eu/ShellGetCompletedEvaluate.shtml).

### Blog Entries

- [MBS FileMaker Plugin, version 9.6pr1](https://www.mbsplugins.de/archive/2019-12-02/MBS_FileMaker_Plugin_version_9/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 18th November 2017 , last changed 17th November 2019

  
[Shell.SetBufferSize](ShellSetBufferSize.md) - [Shell.SetCompletedScript](ShellSetCompletedScript.md)

[HTML Version](ShellSetCompletedEvaluate.shtml)