SamRothCA / Today-Scripts

A widget for running scripts in the Today View in OS X Yosemite's Notification Center
1.58k stars 183 forks source link

How to use this for a long running process like a server #18

Closed theinterned closed 9 years ago

theinterned commented 9 years ago

Hi,

This is a great idea. I'd like to use this script to run things like elastic search, reds, rails etc.

I wonder if you could give me a hint / recipe for how that could be done?

Thanks

SamRothCA commented 9 years ago

I'm not personally familiar with any of those things... For "long running scripts" in general, one approach would be to direct the output of them to a pipe (or just a normal file), then have Today Scripts read from that.