realize icon indicating copy to clipboard operation
realize copied to clipboard

Start long running process when realize starts

Open tonyalaribe opened this issue 7 years ago • 3 comments

I have a usecase where i need to run some processes like Nats, and some other commands before realize starts. Is there any way to do this with realize? ie support for starting external commands

tonyalaribe avatar May 09 '18 10:05 tonyalaribe

You can set a command under scripts

scripts:
      - type: before
        command: echo before global
        global: true
        output: true

asoseil avatar May 09 '18 18:05 asoseil

When I add the scripts under watcher, it only runs for short running processes.

On 9 May 2018 at 19:18, Alessio Pracchia [email protected] wrote:

You can set a command under scripts

scripts: - type: before command: echo before global global: true output: true

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/oxequa/realize/issues/182#issuecomment-387829452, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQqgs2ToNrGwuro4vH7TZzg2vUzCRKVks5twzLigaJpZM4T4DTX .

tonyalaribe avatar May 09 '18 21:05 tonyalaribe

Could you post your configuration or a sample?

asoseil avatar May 11 '18 20:05 asoseil