Skip to content

Instantly share code, notes, and snippets.

@back2dos
Created January 4, 2016 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save back2dos/60015d7c331cff5552ab to your computer and use it in GitHub Desktop.
Save back2dos/60015d7c331cff5552ab to your computer and use it in GitHub Desktop.
Run stuff forever.
package;
class Forever {
static function main() {
var args = Sys.args();
while (true) {
Sys.command(args[0], args.slice(1));
Sys.sleep(.25);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment