openProcesses

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the openProcesses
openProcesses()
Summary

Returns the names of processes that have been opened with the open process command, but have not yet exited.

Introduced1.0
OSmac, windows, linux
Platformsdesktop, server
Example
the openProcesses
put the openProcesses into processesToClose
Values
NameTypeDescription
return

The openProcesses function returns a list of process names, one per line.

RelatedOperator: there is no
Command: open process, kill, read from process
Glossary: exit, command, return, process
Control Structure: function
Securityprocess
Description

Use the openProcesses function to find out which processes 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 processes were opened.

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