Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: tinypoodle on September 06, 2010, 07:33:37 AM
-
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
tc@box:~$ cat .local/bin/bterm
#!/bin/sh
exec aterm &
tc@box:~$ cat .local/bin/bwatcher
#!/bin/sh
exec watcher &
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
-
It probably uses sh -c to launch them. I think using
#!/bin/sh
exec app
would be "more correct" though
-
It probably uses sh -c to launch them. I think using #!/bin/sh
exec app
would be "more correct" though
Umm, do you mean just to omit the "&" in the scripts i created instead??