Tiny Core Extensions > TCE Bugs
jwm creating redundant shell instances
(1/1)
tinypoodle:
For each aterm opened from jwm tray, a redundant '/bin/sh -c' process is created.
Same for each time watcher is swallowed on each jwm (re)start.
(using jwm-snapshot, TC 2.10).
To prevent this I did following:
Creation of shell scripts bterm and bwatcher in PATH
--- Code: ---tc@box:~$ cat .local/bin/bterm
#!/bin/sh
exec aterm &
tc@box:~$ cat .local/bin/bwatcher
#!/bin/sh
exec watcher &
--- End code ---
then in '/home/tc/.jwmrc-tray' i replaced the terms aterm -> bterm & watcher -> bwatcher
Note: If using any options with watcher, those have to be included in the script.
I could guess there might probably be more elegant solutions, but this did the job for me. ;D
^thehatsrule^:
It probably uses sh -c to launch them. I think using
--- Code: ---#!/bin/sh
exec app
--- End code ---
would be "more correct" though
tinypoodle:
--- Quote from: ^thehatsrule^ on September 07, 2010, 07:08:22 AM ---It probably uses sh -c to launch them. I think using
--- Code: ---#!/bin/sh
exec app
--- End code ---
would be "more correct" though
--- End quote ---
Umm, do you mean just to omit the "&" in the scripts i created instead??
Navigation
[0] Message Index
Go to full version