How to start two servers (mysqld and thin) in one batch file? -


i want create batch file start mysql server (mysqld) , rails thin server (rails s thin). mysql starts, rails s thin doesn't:

@echo off cd c:\path\to\app cmd /c "mysqld --console" rem exit  <-- or without rem cd c:\path\to\app  <-- or without cmd /c "rails s thin" 

i tried create 3 files this. main 1 runs other two. doesn't either, mysql runs. , need start mysql before rails. rails needs running mysql. how write such batch?

upd: how start 2 programs simultaniously in windows command prompt

use start

e.g.

start notepad.exe

start calc.exe

if want run 1 after tests, may need write own program.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -