New macro command $exec

Something is missing in Far Manager? You have a great idea that should be heared? Write here.
Posts: 70
Joined: Thu Mar 31, 2005 3:00 am
Location: Sweden

New macro command $exec

Post by jonib »


I would like to suggest a new macro command:

Code: Select all

$exec "command"
That could be used to run internal or external commands within a macro.

I seem to always want to run some command from the macros I make so with this new command I would be able to do more with macros.

Posts: 100
Joined: Thu Mar 09, 2006 6:33 pm
Location: St. Petersburg, Russia

Post by HaRT »

First of all, if such a feature is ever added, it should be a function rather than a statement, because you'll definitely need to know the return code of the process being run.

Other matters to consider are: synchronous/ asynchronous execution; stdin, stdout and stderr handling; environment variables; etc.

IMHO, too much for macros.