Forrest logo
back to the atom tool

atom:tldr:54027

atom: Wait for Atom window to close before returning (useful for Git commit editor).
$ atom --wait
try on your machine

The command "atom --wait" is used to launch the Atom editor and wait until all the windows are closed before exiting.

In the context of the Atom editor, launching it without the "--wait" flag allows you to open multiple files or folders simultaneously. By default, Atom opens a new window for each file or folder. However, when you include the "--wait" flag, Atom will wait until all the windows are closed before terminating the process.

This can be useful when you want to perform some actions on the opened files within Atom and ensure that all the changes are saved or processed before ending the program. By using "--wait", you can wait for users to finish their work and close all the windows before exiting.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the atom tool