nrniv hide launched process

Anything that doesn't fit elsewhere.
Post Reply
JimH
Posts: 54
Joined: Tue Apr 10, 2007 3:36 pm
Location: Duke University

nrniv hide launched process

Post 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
ted
Site Admin
Posts: 6289
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: nrniv hide launched process

Post 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 -
JimH
Posts: 54
Joined: Tue Apr 10, 2007 3:36 pm
Location: Duke University

Re: nrniv hide launched process

Post 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.
JimH
Posts: 54
Joined: Tue Apr 10, 2007 3:36 pm
Location: Duke University

Re: nrniv hide launched process

Post 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.
JimH
Posts: 54
Joined: Tue Apr 10, 2007 3:36 pm
Location: Duke University

Re: nrniv hide launched process

Post 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"
Post Reply