> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/runtime/execute.md).

# Execute

Executes code in the selected runtime. Returns true when it ran.

## **Syntax**

```lua
refresh.Runtime.Execute(code) -> Boolean
```

## **Return**

{% hint style="success" %}
Boolean (executed)
{% endhint %}

## Usage Example

```lua
refresh.Runtime.Execute("print('hi')")
```
