# shell

The `shell` module provides functionalities related to desktop integration.

***

#### Methods <a href="#z1a5y" id="z1a5y"></a>

## beep() <a href="#tkp0d" id="tkp0d"></a>

Plays the system's beep sound.

* Returns `Promise<void>`

```javascript
await eagle.shell.beep();
```

***

## openExternal(url) <a href="#haugb" id="haugb"></a>

Opens the specified URL using the system's default method. Note: This function will not have any effect if there is no default application set by the system.

* `url` string - The URL to be opened
* Returns `Promise<void>`

```javascript
await eagle.shell.openExternal('https://www.google.com/');
```

***

## openPath(path) <a href="#bh5yu" id="bh5yu"></a>

Opens the specified path using the system's default method.

* `path` string - The file path to be opened
* Returns `Promise<void>`

```javascript
await eagle.shell.openPath('path_to_file');
```

***

## showItemInFolder(path) <a href="#sdnth" id="sdnth"></a>

Shows the specified file or folder in the file manager.

* `path` string - The file or folder to be displayed
* Returns `Promise<void>`

```javascript
await eagle.shell.showItemInFolder('path_to_file_or_directory');
```

### &#x20;<a href="#nptwx" id="nptwx"></a>
