Hello, everybody.
i need to run a unix command (let's call it progxy) after
pushing a button only if there is no other instance of
this program already running.
under bash-shell i would use:
ps -C progxy || progxy
i tried:
button .can01.but01 -command {exec ps -C progxy||progxy &}...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.