log out if the command running is being used

This commit is contained in:
Henry Oswald 2016-05-23 15:45:39 +01:00
parent 98a07e07ed
commit ea8134c433

View file

@ -1,6 +1,8 @@
spawn = require("child_process").spawn
logger = require "logger-sharelatex"
logger.info "using standard command runner"
module.exports = CommandRunner =
run: (project_id, command, directory, image, timeout, callback = (error) ->) ->
command = (arg.replace('$COMPILE_DIR', directory) for arg in command)