Page 1 of 1
nrniv hide launched process
Posted: Mon Apr 15, 2013 4:11 pm
by JimH
I am using Windows and looking for a way to launch NEURON without opening a window.
I am currently using nrniv.exe to interact with NEURON.
Would it be possible to do this through rxvt.exe or bash.exe?
Using the Windows command window I am unable to launch NEURON without running neuron.exe which opens a different window.
Thanks!
Jim
Re: nrniv hide launched process
Posted: Mon Apr 15, 2013 5:54 pm
by ted
Double click on the rxvt icon in the NEURON Program Group, then use pwd, ls (that's lower case LS), and cd to navigate your way to the location of your program's main hoc file. At that point execute
nrniv filename.hoc
or maybe it's
nrniv filename.hoc -
Re: nrniv hide launched process
Posted: Thu Apr 18, 2013 10:28 pm
by JimH
The process you mentioned works but involves opening of the rxvt window. I wasn't sure if there was a way of hiding the rxvt window on execution. Since rxvt and bash are mysteries to me, I was hoping someone might know what's going on behind the scenes and how to disable launching of the windows.
Re: nrniv hide launched process
Posted: Fri Apr 19, 2013 12:00 am
by JimH
I think I got what I wanted. I needed the following:
C:\nrn72\bin\bash.exe -c /cygdrive/c/nrn72/bin/nrniv.exe
I'm not sure why it works, but it seems to. I'm having a bit of difficulty getting -nobanner to work, but that might be the way I am running my Java code.
Re: nrniv hide launched process
Posted: Fri Apr 19, 2013 10:20 pm
by JimH
With regard to the nobanner, I needed to group it with the executable using quotes:
C:\nrn72\bin\bash.exe -c "/cygdrive/c/nrn72/bin/nrniv.exe -nobanner"