You are not logged in.
Pages: 1
For startup im doing small installment and cleaning cache etc and start some application.
So i prepared some shell scripts. This shell scripts work well in slitaz 3.
But in when i try to check in slitaz 4 i realized nohup command doesnt work proper way.
1-) subox is starting automaticly. When client click to OK button subox.sh is executing. (password is autosaved)
2-) With tux user start.sh will execute.
3-) in start.sh is trying to execute firefox and leafpad application.
4-) waiting for 30 seconds and finishing all things.
in this case nohup command is not doing job well and closing firefox application. but its not closing leafpad application.
this one is not happening in slitaz 3.
( i just minimized the codes)
What is the problem? Is something bug or changed in slitaz 4?
# autostart.sh
subox "xterm -e /home/usr/subox.sh" &
# subox.sh
#! /bin/sh
su tux -c '/bin/sh /home/usr/start.sh'
# start.sh
#! /bin/sh
nohup firefox &
nohup leafpad &
sleep 30
Offline
http://en.wikipedia.org/w/index.php?title=Nohup
Find and read your nohup.out for debugging.
Offline
nohup.out
gtk-warning locale not supported by c library..
nothing more.
just didnt get it how come code is not working in slitaz4 and but works well slitaz3.
Offline
honestly, nohup command works in slitaz 4 different than slitaz 3.
instead of getting crazy i just changed codes in shell script and fixed the my problem. almost a month, seems everything is fine.
thanks guys
Offline
can you explain your workaround? would be very useful to know your solution
Offline
omg 4 months ago topic is alive again 
as i remember nohup command in slitaz 3 was executing application in different processs. but in in slitaz 4 its not. it works under terminal application. when xterm is closed firefox and leafpad was closing also.
so what i did in start.sh i put while do loop and every second im checking the subox.sh is complete or not. if its done i will just exit the loop and continue the other process.
sorry my awkard english 
Offline
issue solved installing
coreutils-command
bash
now all works like in slitaz 3.0 
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]