Running a service(started inside a batch file) in background even after closing the parent batch file -


on windows, have batch file starts cassandra , other stuff. when batch file terminated cassandra terminated.

but have keep on running cassandra in background , have terminate manually.

can guide me same? in advance.

have tried start command?

start "title" [/d path] [options] "command" [parameters]

so .bat file might this:

@echo off echo starting cassandra... start "c:\program files\cassandra\cassandra.exe" echo continuing process code... rem more code here 

Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -