Skip to content

Commit

Permalink
Fix sporadic error with background processes?
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed May 30, 2019
1 parent d55577e commit 620ae55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rundoc/code_command/background/start.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def to_md(env = {})
def call(env = {})
@spawn.wait(@wait)
@spawn.check_alive! unless @allow_fail

# WTF BBQ SAUCE
FileUtils.touch(@spawn.log)

@spawn.log.read
end

Expand Down

0 comments on commit 620ae55

Please sign in to comment.