• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
execute system commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

execute system commands


  • Subject: execute system commands
  • From: Frank Ribitch <email@hidden>
  • Date: Tue, 20 Apr 2004 09:19:16 -0400

I need to create a program that parses an xml file created by the command "system_profiler -xml -detailLevel -1"

I will be doing this in cocoa or cocoa java. I have done work with cocoa java, so i am leaning that way right now. Anyways, how can I run this command from within the application? The app will have almost no user interaction. At the end of execution, it will report to the user if it completed successfully or if there was a problem. If there was a problem, it will state the problem. The purpose of the app is asset management.

Also, i would like an app to run a procedure that I created when initally launched. how do i do this? My procedure is called Start(). Its written in cocoa java.

Thanks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: CRC16 Checksum Calculation
  • Next by Date: Re: CodeWarrior vs. Xcode?
  • Previous by thread: Re: CRC16 Checksum Calculation
  • Next by thread: Re: execute system commands
  • Index(es):
    • Date
    • Thread