# erlexec

> Execute and control OS processes from Erlang/OTP

Source: https://talira.ai/catalog/erlexec-q81bjemj
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / process management](https://talira.ai/categories/libraries/process-management), [languages / erlang](https://talira.ai/categories/languages/erlang)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Serge Aleynikov](https://talira.ai/orgs/saleyn.md)

erlexec is Serge Aleynikov's OS process manager for the Erlang VM: an Erlang application with a C++ port program that gives Erlang (and Elixir) processes fine-grained control over operating system processes. It starts and stops commands synchronously or asynchronously and reports their exit codes, signals and core dumps; sets a command's working directory, environment, process group, user and priority; links and monitors Erlang processes to OS processes so either ending ends the other; writes to a process's stdin and redirects stdout and stderr to files, Erlang processes or functions; runs interactive commands with a pseudo-terminal; uses Linux capabilities and cgroups; runs commands in Podman or Docker containers; and cleans up child processes when the port program exits.

## Links

- GitHub: https://github.com/saleyn/erlexec
- Docs: https://hexdocs.pm/erlexec/readme.html

## Problems it solves

- run and supervise an external command from Elixir or Erlang
- stream a shell command's output into an Erlang process
- make sure child OS processes die when my Erlang app stops

## Features

- start, stop and monitor OS processes with exit codes and signals
- link Erlang processes to OS processes
- stdin, stdout and stderr redirection to files, processes or functions
- pseudo-terminal support for interactive commands
- Linux capabilities, cgroups, and Podman or Docker containers
- custom termination commands and kill timeouts

## Trust

Overall: 0.52 out of 1.
Signals: maintenance 0.80, adoption 0.56, momentum 0.20, community 0.67, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 30 commits in the last 90 days
- latest release 2.6.0 32 days ago
- 618 GitHub stars
- 47 contributors
- backed by Serge Aleynikov

## Sources

[^1]: https://github.com/saleyn/erlexec/blob/master/LICENSE (checked 29 Nov 2026)
[^2]: https://hex.pm/api/packages/erlexec (checked 29 Nov 2026)
