Skip to content

Commit

Permalink
fix duplicate stderr
Browse files Browse the repository at this point in the history
Signed-off-by: Yitao Li <yitao@rstudio.com>
  • Loading branch information
yitao-li committed Jul 21, 2020
1 parent 7779b87 commit 5360c72
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mlflow/R/mlflow/R/cli.R
Expand Up @@ -30,11 +30,6 @@ mlflow_cli <- function(...,
MLFLOW_BIN = mlflow_bin,
MLFLOW_PYTHON_BIN = python_bin()
), env)
if (is.null(stderr_callback)) {
stderr_callback <- function(x, p) {
cat(x, file = stderr())
}
}
with_envvar(env, {
if (background) {
result <- process$new(mlflow_bin, args = unlist(args), echo_cmd = verbose, supervise = TRUE)
Expand Down

0 comments on commit 5360c72

Please sign in to comment.