Results 1 to 3 of 3

Thread: Exit codes of the command line tool dropdmg

  1. #1

    Default Exit codes of the command line tool dropdmg

    Hi,

    i am using the command line tool dropdmg in an automated process for dmg creation. To check the result i want to check the exit code after excecution.

    It seems that no exit code is returned when the operation succeeded and 1 when there was an error.
    Are there other exit codes dropdmg could return?

    Regards,

    Matthias

  2. #2

    Default

    Quote Originally Posted by MatthiasR View Post
    Hi,

    i am using the command line tool dropdmg in an automated process for dmg creation. To check the result i want to check the exit code after excecution.

    It seems that no exit code is returned when the operation succeeded and 1 when there was an error.
    Are there other exit codes dropdmg could return?

    Regards,

    Matthias
    Sorry, i meant 0 is returned when the operation succeeded.

  3. #3

    Default

    Quote Originally Posted by MatthiasR View Post
    It seems that no exit code is returned when the operation succeeded and 1 when there was an error.
    Are there other exit codes dropdmg could return?
    Those are the only ones. Different errors will result in different text sent to stderr.

Similar Threads

  1. Replies: 6
    Last Post: Yesterday, 10:50 AM
  2. command-line tool crashing
    By KennyPowers in forum DropDMG
    Replies: 2
    Last Post: 06-28-2019, 10:44 AM
  3. Command Line packaging
    By jefftullin in forum DropDMG
    Replies: 1
    Last Post: 12-29-2015, 11:45 AM
  4. Classify email using the command line
    By brab in forum SpamSieve
    Replies: 2
    Last Post: 03-26-2015, 11:00 AM
  5. dropdmg command-line tool
    By Atomjack in forum DropDMG
    Replies: 2
    Last Post: 10-05-2010, 11:31 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •