]> gitweb.factorcode.org Git - factor.git/commitdiff
Run vim synchronously
authorErik Charlebois <erikcharlebois@gmail.com>
Thu, 23 Jun 2011 05:18:35 +0000 (01:18 -0400)
committerErik Charlebois <erikcharlebois@gmail.com>
Thu, 23 Jun 2011 05:18:35 +0000 (01:18 -0400)
If you run vim from the terminal asynchronously, vim and factor will conflict accessing stdin and stdout.

basis/editors/vim/vim.factor

index a62ed9e0a5af6dc176085fcec20d50912f24c4fa..55c3889e009149b562550e70a073dd19c2548835 100644 (file)
@@ -16,7 +16,7 @@ M: vim vim-command
     ] { } make ;
 
 : vim ( file line -- )
-    vim-command run-detached drop ;
+    vim-command run-process drop ;
 
 "vim" vim-path set-global
 [ vim ] edit-hook set-global