Ass Hat
Home
News
Events
Bands
Labels
Venues
Pics
MP3s
Radio Show
Reviews
Releases
Buy$tuff
Forum
  Classifieds
  News
  Localband
  Shows
  Show Pics
  Polls
  
  OT Threads
  Other News
  Movies
  VideoGames
  Videos
  TV
  Sports
  Gear
  /r/
  Food
  
  New Thread
  New Poll
Miscellaneous
Links
E-mail
Search
End Ass Hat
login

New site? Maybe some day.
Posting Anonymously login: [Forgotten Password]
returntothepit >> discuss >> [compy] Rev or others... php question... by sxealex on Feb 13,2008 8:03am
Add To All Your Pages!
toggletoggle post by sxealex   at Feb 13,2008 8:03am edited Feb 13,2008 8:56am
I have a php script calling a bash script.... how do I make the webpage not hang while the script is executing? Everything works fine except i have to reload the page to see the output...

http://lbot.analglands.cx:8888/bot.php




toggletoggle post by bradmann   at Feb 13,2008 8:11am
yo alex fuck icelandic postage...we can just have a hard-drive party when i get back.



toggletoggle post by sxealex   at Feb 13,2008 8:16am
ha ok



toggletoggle post by the_reverend   at Feb 13,2008 8:49am
I don't get what you are doing... but why don't you nohup or something like that.



toggletoggle post by sxealex   at Feb 13,2008 8:56am
oh i put the wrong link... duhhh



toggletoggle post by sxealex   at Feb 13,2008 8:56am
fixed



toggletoggle post by the_reverend   at Feb 13,2008 9:05am
I already answered your question though...



toggletoggle post by sxealex   at Feb 13,2008 4:49pm
it still hangs even when i nohup in a terminal... wtf?



toggletoggle post by sxealex   at Feb 13,2008 4:52pm
the program in running uses the display of the remote machine so i tried...
DISPLAY=:0 nohup ./psclient
and it said appending to the nohup.out...
hannnnnnngggggg



toggletoggle post by sxealex   at Feb 13,2008 4:52pm
and all this is run as sudo so its not a permissions thing



toggletoggle post by Fuck_Logging_In_NLI at Feb 13,2008 5:07pm
ITT: Nerds



toggletoggle post by the_reverend   at Feb 13,2008 5:24pm
no hump needs to be the first thing. put everything in your script



toggletoggle post by sxealex   at Feb 13,2008 5:38pm
solution was
DISPLAY=:0 ./psclient > /dev/null 2>&1 &
in the sh script... although i thought nohup did the same thing but it didnt work. o.O



toggletoggle post by sxealex   at Feb 13,2008 5:38pm edited Feb 13,2008 5:39pm
i tried nohup as the first thing... and the DISPLAY command wouldnt work



toggletoggle post by sxealex   at Feb 13,2008 5:40pm
Fuck_Logging_In_NLI said[orig][quote]
ITT: Nerds

does it make it funnier if i tell you im actually sitting in bed with a mac laptop



Enter a Quick Response (advanced response>>)
Username: (enter in a fake name if you want, login, or new user)SPAM Filter: re-type this (values are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E, or F)
Message:  b i u  add: url  image  video(?)show icons
remember:sign on net, sign off brain
[default homepage] [print][2:52:49pm Apr 28,2024
load time 0.01892 secs/12 queries]
[search][refresh page]