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
nrniv hide launched process
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: nrniv hide launched process
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 -
nrniv filename.hoc
or maybe it's
nrniv filename.hoc -
Re: nrniv hide launched process
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
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.
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
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"
C:\nrn72\bin\bash.exe -c "/cygdrive/c/nrn72/bin/nrniv.exe -nobanner"