Entering edit mode
rasanpreet kaur suri
▴
40
@rasanpreet-kaur-suri-4321
Last seen 10.3 years ago
Hi all,
I have a local server insalled on my system and have to start that
from
within my R function.
here is how I start it:
cmd<-"sh start-server.sh"
system(cmd, wait=FALSE)
My function has to start the server and proceed with further steps.
The
server starts but the further steps of the program are not
executed.The
cursor keeps waiting after the server is started.
i tried removing the wait=FALSE, but it still keeps waiting.
I also tried putting the start-server in a separate function and my
further
script in a separate function and then run them together, but it still
waits. The transition from the start of server to next step is not
happening.
Please help. I have been stuck on this for quite some time now.
[[alternative HTML version deleted]]