-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Le 19/12/2013 12:04, IOhannes m zmölnig a écrit : > On 2013-12-19 11:32, IOhannes m zmoelnig wrote: >> as for adding ";" and leading "0"; you might want to use `sed`. > > or use a script like the attached one (on Debian, 'unbuffer' can be > found in the 'expect-dev' package) > > usage: ./xinput.sh <id> <udp-port> > > as for the problem of terminating a process in [shell], i usually start > external senders outside of Pd: > > <script> > #!/bin/sh > ./xinput.sh 12 9998 & > XINPUT_PID=$1 > pd -open mypatch.pd > kill -QUIT ${XINPUT_PID} > <script> > > gfmadsr > IOhannes > > > _______________________________________________ > Pd-list@iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ya, better and simpler than to check if pd is still alive : keep pd in foregroud ;) ++ Jack -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJSstR+AAoJEOuluecjw8GU2nwH/0DX6wmQXYVbU+OCERFJAclQ wJ3Dv8/OaR5PRcLaklhS7gdZ7K7t+QXM8ddmHkPbFCtp1TFnxqrHPkcsEq9usN8y SxpDW61l0UyVZrWLvlB2lk1Xdrb35BgL8BaHfeOq7UO1zOR1JllShThaGyCa2Hd2 Mwr8OmoxxMwHhn/ZmLfAUa735X596Z7AMLrTGX5J58TUBA2lD9hbuqykhudKxYXH CP1+BOTP8dB30uriTdLfUXO7h5LW+Z+xxtvgDe0BeOE0Ad98qwxgZ7QLU4/JEW+V 9mcfUASfZC1CNhS1a+zQ0y6Vg3f4ajcIsAL9ofza2NPifGlLI8bZq5Xnql+K8tE= =FVhO -----END PGP SIGNATURE-----
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list