How to execute external program from jedit and catch output
Dalibor Petricevic <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <CAMQTR1gvigiM6yxzRt0uXKSTMw-O5W3a8MjsCqSDJ2uASFGBjg@mail.gmail.com> |
Hello, this is a real-world situation: I'm working on a text file of some kind, selected portion of text in active buffer and want to execute external proces (program.exe), pass selected text to it, capture its output and replace selected text in buffer with that output. How can I do that? Also, I would like to "save" that [something] (execute, feed selection from buffer to process, catch output, replace selected text) and pin it to toolbar or context menu. Tnx! D ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot -- ----------------------------------------------- jEdit Users' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-users