I really lime mpg123, and I thought I'd make a nice little GUI wrapper for it so I don't need 30% processor utilization to listen to Weird Al or 80's music. Sounds good, running it from the commandline works well. But then everything falls apart when I use NSTask.
So I launch my NSThread, and I see printed out to stderr in the project builder window (i tried piping to a filehandle to see if it was stderr or stdout; it was the former). But, even though it loads the song, it just dies. No playing. The NSTask stops executing. I have no idea what's going on. I did roughly the same thing for tar-gzing files with NSTask, and it worked flawlessly, but something fishy is happening here.
So, does anyone got an idea about what's going on and how (if possible) I could fix it?
Thanks,
F-bacher