R/startServers.R

Defines functions startServers

Documented in startServers

#' Start running servers
#'
#' @param pathToBrouterDir path to Brouter directory
#' @param noServers number of servers, defaults to 1
#'
#' @return none
#' @export
#'
#'
#' @examples
#'
startServers <- function(pathToBRouter=NULL, noServers=1){

  oldwd <- getwd()
  setwd(pathToBRouter)

  shell.exec("wscript.sh")

  setwd(oldwd)

  print("--Servers started")

}
ivt-baug-ethz/brouterR documentation built on Dec. 9, 2024, 8:59 p.m.