[Paraview] default_servers.pvsc question

Angelini, Richard C (Rick) CIV USARMY ARL (US) richard.c.angelini.civ at mail.mil
Fri Apr 10 16:09:37 EDT 2015


Question about the default_servers.pvsc file…..

I have this in my host profile:

  <Server name=“My System" resource="csrc://127.0.0.1">
    <CommandStartup>
      <Options>
<Option name="SSHLOC" label="Local SSH Command" save="true">
 <File default="/usr/local/bin/ssh"/>
</Option>

So, when the GUI pops up, the user has an opportunity to change the path to ssh.   But, rather than hard-coding the default value, or presenting blank field and have the user put in the correct path, is it possible to query the user’s environment and find `which ssh` and substitute in that value??




________________________________
Rick Angelini
USArmy Research Laboratory
CISD/HPC Architectures Team
Phone:  410-278-6266
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150410/051655c4/attachment.html>


More information about the ParaView mailing list