Bat file service runs many times -


i have created bat file start ruby service

working code is:

ruby c:\folder\projects\folder\folder\script\server 

it works fine when open command prompt ,paste , run.

but not working when created bat file of it.

bat content is

ruby c:\folder\projects\folder\folder\script\server pause

when run bat file, not working expected. runs multiple shown below. enter image description here

please me resolve it.

the batch file must have name different process want run in it. in case, batch file must not named ruby.bat, because in case, line:

ruby c:\folder\projects\folder\folder\script\server 

placed in batch file imply recursive invocation of itself...


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -