helpghostscript - Support: sr #106912, exit code not returned to shell

 
 

sr #106912: exit code not returned to shell

Submitted by:  Dave <blurred_vision>
Submitted on:  Wed 24 Jun 2009 06:31:49 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 24 Jun 2009 06:42:13 PM UTC, comment #2:

One more time for better formatting.

'm running GPL Ghostscript 8.63 on a Redhat 5 box and I'm having issues with the exit code not being returned to the shell. For instance if I do something like (bogus.pdf does not exist):

I get the following output:

The output says exit code 1 but when I do:

I get a "0".

I have been able to get a non-zero return code when I do something like removing the output device specification:

In this situation, I get the following output:

Any ideas as to what I'm missing?

Dave <blurred_vision>
Wed 24 Jun 2009 06:38:28 PM UTC, comment #1:

Something got baked in the formatting of the original post because I assumed I would be able to preview the post before submitting it. Oh well, let me try again.

I'm running GPL Ghostscript 8.63 on a Redhat 5 box and I'm having issues with the exit code not being returned to the shell. For instance if I do something like (bogus.pdf does not exist)
:
I get the following output:
The output says exit code 1 but when I do:
I get a "0".

I have been able to get a non-zero return code when I do something like removing the output device specification:
In this situation, I get the following output:

Any ideas as to what I'm missing?

Dave <blurred_vision>
Wed 24 Jun 2009 06:31:49 PM UTC, original submission:

I'm running GPL Ghostscript 8.63 on a Redhat 5 box and I'm having issues with the exit code not being returned to the shell. For instance if I do something like (bogus.pdf does not exist)
I get a "0".

Any ideas as to what I'm missing?

Dave <blurred_vision>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blurred_vision (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup