in reply to Re: Is it possible to open notepad?
in thread Is it possible to open notepad?
Control an inferior text editor from a superior text processing scripting language?
I use this technique occasionally in CLI programs which require entering a fair amount of text: I generate a YAML or JSON file which prompts for the desired input, write it to a temporary file, then launch $ENV{EDITOR} || '/usr/bin/vi' to edit the file.
It works well for programs where I can assume users have the appropriate technical skills.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Is it possible to open notepad?
by Jim (Curate) on Aug 25, 2011 at 04:56 UTC |