aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/daemon.rs
Commit message (Collapse)AuthorAge
* Add foreground CWD implementation for OpenBSDLaurence Tratt2025-11-02
|
* Dont fail exec() on deleted directoriesTycho Andersen2025-02-08
| | | | | | | | | Use the `std::env::set_current_dir` from the `pre_exec` and ignore error, since not changing working directory is a side effect which shouldn't break spawning a program or block window creation. Signed-off-by: Tycho Andersen <tycho@tycho.pizza> Co-authored-by: Kirill Chibisov <contact@kchibisov.com> Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Unify string formattingHamir Mahal2024-07-24
|
* Migrate from winapi to windows-syskillian2022-09-30
|
* Remove shared PID/FD variablesChristian Duerr2021-12-19
| | | | | | | | | | | | | | | | The existing PID/FD atomics in alacritty_terminal/src/tty/unix.rs were shared across all Alacritty windows, causing problem with the new multiwindow feature. Instead of sharing these between the different windows, the master FD and shell PID are now stored on the `window_context`. Unfortunately this makes spawning new daemons a little more complicated, having to pass through additional parameters. To ease this a little bit the helper method `spawn_daemon` has been defined on the `ActionContext`, making it accessible from most parts of Alacritty's event loop. Fixes #5700.
* Spawn children from foreground working directoryJorge Carrasco2021-12-18
| | | | | | | | | To allow applications spawned by Alacritty to make use of the shell/foreground process' working directory, it is now set for all new processes spawned by Alacritty on Unix platforms. Fixes #5616. Co-authored-by: Christian Duerr <contact@christianduerr.com>
* Add parameters to `msg create-window` subcommandKirill Chibisov2021-11-22
| | | | | | | | | | | | | | | Alacritty's `msg create-window` subcommand would previously inherit all the CLI parameters from the original executable. However not only could this lead to unexpected behavior, it also prevents multi-window users from making use of parameters like `-e`, `--working-directory`, or `--hold`. This is solved by adding a JSON-based message format to the IPC socket messages which instructs the Alacritty server on which CLI parameters should be used to create the new window. Fixes #5562. Fixes #5561. Fixes #5560.
* Add option to run command on bell Kirill Chibisov2020-07-10
Fixes #1528.