]> gitweb.factorcode.org Git - factor.git/commit
editors: Launch editors as child processes. Hopefully this is ok on
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 16 Mar 2018 23:13:17 +0000 (18:13 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 16 Mar 2018 23:13:17 +0000 (18:13 -0500)
commitf164f47e4154ddd70405049dd5f4d3d66708c38a
tree5f84afeb099707a0c2b7b8ea8577d3a4ac36d75d
parente50be2a1ca65e9d3b3c8116fd71f743ab59fcf65
editors: Launch editors as child processes. Hopefully this is ok on
other platforms.

On Windows, VSCode gets launched as a child process, which kills the
editor when Factor exits. This is not what we want. Add an overridable
option to launch editors as child processes, which should get repated
when Factor quits.

The confusion comes from ``run-detached`` which itself just
waits until the child process returns (as opposed to "detaching" a child
process from the parent process, which is called +new-group+ or
+new-session+ instead).
basis/editors/editors.factor