Skip to content

Commit

Permalink
Suppress printing of dispersion execution to console
Browse files Browse the repository at this point in the history
  • Loading branch information
rich-iannone committed Apr 19, 2016
1 parent 0710567 commit 9a4368e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/hysplit_dispersion.R
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ hysplit_dispersion <- function(lat = 49.263,
run_day <- start_day
}

# If SETUP.CFG or ASCDATA.CFG do not exist in the working
# directory, write default versions of those
# If SETUP.CFG or ASCDATA.CFG do not exist in the
# working directory, write default versions of those
# config files
if (!("SETUP.CFG" %in% list.files()) |
!("ASCDATA.CFG" %in% list.files())) {
Expand Down Expand Up @@ -637,14 +637,14 @@ hysplit_dispersion <- function(lat = 49.263,
system(paste0("(cd ", getwd(), " && ",
system.file("osx/hycs_std",
package = "SplitR"),
")"))
" >> /dev/null 2>&1)"))
}

if (get_os() == "unix") {
system(paste0("(cd ", getwd(), " && ",
system.file("linux-amd64/hycs_std",
package = "SplitR"),
")"))
" >> /dev/null 2>&1)"))
}

if (get_os() == "win") {
Expand Down

0 comments on commit 9a4368e

Please sign in to comment.