From: Arjen M. <Arj...@de...> - 2013-11-21 10:45:39
|
Hi Alan, > -----Original Message----- > From: Arjen Markus [mailto:Arj...@de...] > I know one thing: > The <<EOF does not prevent the substitution of variables by the bash shell, so that > the commands that plserver gets are not the intended commands: > .../plserver <<EOF > ... > $plwin cmd plspause 0 > ... > EOF > > gets passed to plserver as "cmd plspause 0" - causing a runtime error as there is no > command "cmd". > > I have changed it to <<'EOF' to prevent the substitution by bash. That still does not > work, but at least the commands are passed correctly. > Well, that method was abandoned already - I was staring at the wrong code, but after some more searching I found the real reason for the pausing: the plxframe widget used by plserver waits for the user to press the enter key. I have adapted the code so that it is now possible to influence that from the outside. I will do some more testing and then submit my changes. Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |