batch mode in windows
Posted: Tue Aug 18, 2009 1:04 am
Basically, I want to batch up runs that look like:
neuron -c parm=1 run.hoc
neuron -c parm=2 run.hoc
etc
The runs are generated by a script, and the whole thing runs under bash provided by cygwin.
I'm having two questions:
1. How do I stop neuron opening the terminal window?
2. How do I stop neuron from disconnecting from the parent process? At the moment when I run the script, neuron opens the terminal window, disconnects from the parent and the script immediately launches the next run. I end up with 30 processes running which windows does not handle gracefully.
It seems that if neuron could use stdin and stdout from parent process, as I understand it does under unix, this would solve my problem.
thanks in advance,
Evan.
neuron -c parm=1 run.hoc
neuron -c parm=2 run.hoc
etc
The runs are generated by a script, and the whole thing runs under bash provided by cygwin.
I'm having two questions:
1. How do I stop neuron opening the terminal window?
2. How do I stop neuron from disconnecting from the parent process? At the moment when I run the script, neuron opens the terminal window, disconnects from the parent and the script immediately launches the next run. I end up with 30 processes running which windows does not handle gracefully.
It seems that if neuron could use stdin and stdout from parent process, as I understand it does under unix, this would solve my problem.
thanks in advance,
Evan.