Commit Graph

348 Commits

Author SHA1 Message Date
David Dollar 92c1909217 Merge pull request #300 from mattv/output-blank-lines
Don't ignore blank lines in the output
2013-01-14 05:07:31 -08:00
David Dollar af57bf3d52 Merge pull request #302 from ctrochalakis/process_group_fix
Ensure foreman is the process group leader
2013-01-14 05:07:21 -08:00
David Dollar 443994d3b5 Merge pull request #303 from fxposter/master
Fix for high CPU load. Fixes #260 and #299.
2013-01-14 05:06:44 -08:00
nseo 0d53f6bd6c fix more 2013-01-13 22:10:12 +09:00
nseo 1d2bcdbc56 fix color 2013-01-12 01:10:25 +09:00
Pavel Forkert aceea1472a Fix #299 and #260
Some processes close their output channels and IO.select keeps
returning them as "readable", while IO#gets returns nil on them, thus
spending a lot of CPU looping through the same reader continuously
2013-01-07 02:30:56 +02:00
Christos Trochalakis 44726e377e Ensure foreman is the process group leader
Foreman should be the process leader before killing processes using
his process group id.

Before that foreman was broken when it was not spawned from a shell.
2012-12-27 15:47:02 +02:00
Matt Venables 61eca5a1d8 Don't ignore blank lines in the output
This fixes the stdout code to ensure that empty lines are outputted.
Many times, these blank lines are intentional, so foreman should not
suppress them.

This fixes #286
2012-12-21 11:12:52 -05:00
David Dollar 8b49256175 0.60.2 2012-10-08 10:47:00 -04:00
David Dollar 73fc059634 Merge pull request #273 from silviorelli/master
Fix for fix on issue #260
2012-10-08 07:46:16 -07:00
Silvio Relli f7b7029cc0 Fix for nil value on io select loop, fixes #260 2012-10-08 16:40:37 +02:00
David Dollar 6c931ea15e 0.60.1 2012-10-08 10:30:25 -04:00
Silvio Relli 9da4e38209 Cleaner fix for high cpu load issue, fixes #260 2012-10-08 16:05:20 +02:00
Silvio Relli 5d9dfd294e Patch for high cpu load issue 2012-10-08 11:52:39 +02:00
David Dollar 1153fb0f0c 0.60.0 2012-09-25 12:38:01 -05:00
David Dollar f69c755d9a Merge pull request #262 from dpiddy/foreman-run-from-procfile
foreman run can run things from the Procfile like heroku run.
2012-09-25 10:37:25 -07:00
David Dollar 64f0749d16 0.59.0 2012-09-15 11:49:46 +09:00
Dan Peterson e99f3173ef foreman run can run things from the Procfile like heroku run. 2012-09-14 10:43:03 -03:00
David Dollar 6c04dab649 0.58.0 2012-09-14 18:10:05 +09:00
David Dollar 96e26e7412 dont set HOME 2012-09-14 17:44:32 +09:00
David Dollar a2c03cc402 Merge pull request #217 from danielfarrell/capistrano
Add capistrano export support
2012-09-14 01:42:34 -07:00
David Dollar 803115c0c4 Merge pull request #226 from alachaum/master
CLI: fix directory option
2012-09-14 01:41:36 -07:00
David Dollar a4343187ad Merge pull request #239 from indrekj/master
Use path and env variables in the inittab export
2012-09-14 01:41:18 -07:00
David Dollar 98af1f0943 Merge pull request #261 from martinisoft/launchd_environment
Launchd environment
2012-09-14 01:34:35 -07:00
David Dollar af2d4762a8 Merge pull request #250 from szimek/249_multiline_strings
Handle multiline strings in .env file
2012-09-14 01:34:10 -07:00
Aaron Kalin 698e6ae092 Add command argument string splitting
launchd uses exec() under the hood when you specify ProgramArguments
or Program so you must break apart program arguments into separate
strings in an array or the command will fail
2012-09-10 19:10:47 -05:00
Aaron Kalin c617ddb3b2 Cleanup launchd exporter
Also suppresses the deprecation warning for the launchd exporter when
using port instead of engine.port_for
2012-09-10 18:21:51 -05:00
Aaron Kalin f6d4badcd2 Enable trim_mode via '-' in ERB templates
This adds whitespace supression optionally, similar to the default
behavior in Rails ActionView ERB templates.

Just add - to a %> like so: -%> and it will remove trailing whitespace
and newlines. This can also be done to the beginning tag for removing
newlines from the beginning of the tag line.
2012-09-10 18:18:56 -05:00
Omar Khan 574e852710 foreman run should exit with the same code as its command 2012-08-24 16:50:05 +01:00
David Dollar 4abd3ebedb 0.57.0 2012-08-21 10:58:11 -04:00
David Dollar 681a9f7e61 0.56.0 2012-08-19 12:05:07 -04:00
David Dollar 6ca505b4cd 0.55.0 2012-08-14 17:07:52 -04:00
David Dollar 612eae5e21 use a forked process to exec a run with environment 2012-08-14 17:07:39 -04:00
David Dollar cd384e0d59 0.54.0 2012-08-14 17:00:19 -04:00
David Dollar 8921cac35b use Foreman::Process to extract command running 2012-08-14 17:00:01 -04:00
Szymon Nowak 7d6de5b2a7 Handle multiline strings in .env file 2012-08-14 11:09:21 +02:00
Indrek Juhkam 8b204db2f0 Use path and env variables in the inittab export 2012-07-31 21:44:31 +03:00
David Dollar 5f0f2f5378 0.53.0 2012-07-24 11:18:20 -04:00
David Dollar c1b57b59cf put app root in $HOME 2012-07-24 11:18:05 -04:00
David Dollar 359d6f1c34 0.52.0 2012-07-24 11:10:16 -04:00
David Dollar 584f251e4a wrap command in a runner that sources .profile.d scripts 2012-07-24 11:09:54 -04:00
Arnaud Lachaume ebe160d425 fixed the directory option 2012-07-14 11:48:24 +10:00
David Dollar 03e5342067 0.51.0 2012-07-11 18:32:51 -04:00
David Dollar b1d57426fb dont try to colorize windows 2012-07-11 18:30:51 -04:00
David Dollar efb6d2f11d 0.50.0 2012-07-11 16:07:52 -04:00
David Dollar cefd4e351e handle windows 2012-07-11 16:02:07 -04:00
David Dollar 9849f4558a 0.49.0 2012-07-11 15:05:47 -04:00
David Dollar 4b53b42be1 1.8 compatibility 2012-07-11 15:05:28 -04:00
David Dollar 219acaf690 use one pgroup for all of foreman and kill that since ruby 1.8 sucks at pgroups 2012-07-11 15:05:20 -04:00
David Dollar 7fdade277c 0.48.0 2012-07-10 15:06:22 -04:00