You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement an ability to edit my config file from vorpal. As an editor, I'm using vim.
I can launch vim from a regular node.js script like this:
I've tried vorpal.hide(); before spawning the child process.
I've tried vorpal.exec('exit');, but it kills a process completely on exit and don't spawn a child process.
Is there a way to spawn an interactive CLI app (such as vim) from the vorpal? Or at lease close vorpal instance, launch vim, and then initialize vorpal again?
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to implement an ability to edit my config file from vorpal. As an editor, I'm using vim.
I can launch vim from a regular node.js script like this:
and it works fine, but I can't do it from my vorpal app. I'm getting:
I've tried
vorpal.hide();
before spawning the child process.I've tried
vorpal.exec('exit');
, but it kills a process completely on exit and don't spawn a child process.Is there a way to spawn an interactive CLI app (such as vim) from the vorpal? Or at lease close vorpal instance, launch vim, and then initialize vorpal again?
Thanks
The text was updated successfully, but these errors were encountered: