LINUX.ORG.RU

История изменений

Исправление Zubok, (текущая версия) :

UPD. Или не спасет. Что-то я был уверен, что там есть запуск программ и скриптов, если сработало правило. Но что-то не вижу.

А, нет. кажется, спасет. Надо проверить, то ли это.

UPD: Работает! У себя проверил. По правилу запускает нужную команду.

Вот в man:

       spawn_async
              Execute a command in the background (returns  boolean).  Command
              is  given as a single string, or as a series of strings (similar
              to execl).

       spawn_sync
              Execute a command in the foreground (returns command  output  as
              string, or FALSE on error). Command is given as a single string,
              or as a series of strings (similar to execl).

Исходная версия Zubok, :

UPD. Или не спасет. Что-то я был уверен, что там есть запуск программ и скриптов, если сработало правило. Но что-то не вижу.

А, нет. кажется, спасет. Надо проверить, то ли это. Вот в man:

       spawn_async
              Execute a command in the background (returns  boolean).  Command
              is  given as a single string, or as a series of strings (similar
              to execl).

       spawn_sync
              Execute a command in the foreground (returns command  output  as
              string, or FALSE on error). Command is given as a single string,
              or as a series of strings (similar to execl).