diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-04-07 13:10:02 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-04-07 13:10:02 +0200 |
commit | 9b9e703df41d75949272059f9b8bc8b763e91fce (patch) | |
tree | 8ddcd01325ee08d8029e0a86f467390de23c7b39 /src/nix/edit.cc | |
parent | 8a29052cb2f52ef2c82c36fb3818fd0f66349729 (diff) |
restoreSignals() + restoreAffinity() -> restoreProcessContext()
Diffstat (limited to 'src/nix/edit.cc')
-rw-r--r-- | src/nix/edit.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/edit.cc b/src/nix/edit.cc index 6472dd27a..b26417b18 100644 --- a/src/nix/edit.cc +++ b/src/nix/edit.cc @@ -42,7 +42,8 @@ struct CmdEdit : InstallableCommand auto args = editorFor(pos); - restoreSignals(); + restoreProcessContext(); + execvp(args.front().c_str(), stringsToCharPtrs(args).data()); std::string command; |