cp command only working when it wants to?

Discussion in 'iOS Development' started by Nickll9009, May 25, 2008.

  1. Nickll9009

    Nickll9009 New Member

    Joined:
    Sep 19, 2007
    Messages:
    1,367
    Likes Received:
    8
    Device:
    iPod touch
    Ok so while I was coding I found this strange error - In one part of my app it does "set language" for this is use

    system("/Applications/Utilities.app/Commands/setlanguage setlanguage"); I also tried
    system("/Applications/Utilities.app/Commands/setlanguage");

    I have the Commands folder in Utilities.app with the setlanguage command in there but it wont go! The button just turns black for about 2 seconds the releases. Idk why this isnt working. Any ideas guys?

    Thanks
    -Nick

Share This Page