Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
Posted: Fri 06 Jul 2012, 02:00 Post_subject:
How to Kill, to Bash a program to death in Slacko?
Trying to open a program in bash script
displaying a file (that works)
and then close or kill the program
(using Puppy Slacko 5.3.3.2)
Is it really so hard?
None of this stuff seems to work . . .
program args &
programpid=$!
... do stuff ...
kill $programpid
... and that way you won't piss off your users because you killed their other opened instance of <program> that had weeks of unsaved data opened ... in other words, don't use a machete when the right tool is a scalpel _________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum