openProcesses

returns the names of process that have been opened with the open process command, but have not yet exit.

# Metadata

Platforms: desktop, server OS: mac, windows, linux Introduced: 1.0 Security: process

# Syntax

the openProcesses

# Examples

the openProcesses

put the openProcesses into processesToClose

# Description

Use the openProcesses function to find out which process need to be closed, or to check whether a process is already running before communicating with it.

The list of process names is in the same order used by openProcessIDs function, which is the same order that the process were opened.

Programs that were not started by LiveCode are not included in the list returned by the openProcesses function.

# Tags

# See

- **operator:** there is no - **command:** open process, kill, read from process - **glossary:** exit, command, return, process - **control structure:** function