server connect command sometimes doesn't work
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
So I made a little convenience script (called runserver)
#!/bin/bash echo "attempting to run server..."
first command
> /home/cjstimp/paraview/tryrun /home/cjstimp/paraview/build-mpi/bin/pvserver 2>1 >> /home/cjstimp/paraview/tryrun &
second command
#/home/cjstimp/paraview/build-mpi/bin/pvserver & echo "started server..." >> /home/cjstimp/paraview/tryrun
It works. If I use the second command instead, it NEVER works.
If I use the second command, and add a "sleep 1" at the end of the script, then the ParaView client will crash.
If I manually run the script (either first or second command), and manually connect the client to the server, it always works.
This is from Linux to Linux (localhost).