emacslispプログラムが終了した後も実行を継続するemacslispのプロセスを開始するにはどうすればよいですか?インタラクティブなGUIプログラムを開始して終了するユーティリティスクリプトを書いています。
前もって感謝します。
編集:私はこのC++コードに相当するemacslispを探していると思います。
#include <cstdlib>
#include <sys/types.h>
#include <unistd.h>
int main() {
using namespace std;
pid_t p = fork();
if (p == 0) {
// child process
execl("process_to_run", "process_to_run", nullptr);
} else {
// stuff for parent to do
}
return 0;
}