[pulseaudio-tickets] [PulseAudio] #917: Support for multiple command line arguments with #!/usr/bin/pulseaudio (was: command-line arguments are not always correctly parsed)

PulseAudio trac-noreply at tango.0pointer.de
Tue Mar 8 21:26:50 PST 2011


#917: Support for multiple command line arguments with #!/usr/bin/pulseaudio
--------------------------+-------------------------------------------------
  Reporter:  roothorick   |       Owner:  lennart
      Type:  enhancement  |      Status:  new    
 Milestone:               |   Component:  daemon 
Resolution:               |    Keywords:         
--------------------------+-------------------------------------------------
Changes (by tanuk):

  * type:  defect => enhancement


Comment:

 I don't think this is a bug in Pulseaudio. It's a limitation of Linux that
 the shebang line can't have more than one argument. Since the limitation
 could be worked around by parsing the first argument as if it was a full
 command line (minus the script name), I'm not closing this ticket as
 "invalid", but I'll set the type to enhancement.

 Do you know how common it is to work around the kernel limitation? From
 this[1] thread I learned that at least awk doesn't support what you think
 Pulseaudio should support, but perl does.

 [1] http://lkml.org/lkml/2004/2/16/74

-- 
Ticket URL: <http://pulseaudio.org/ticket/917#comment:2>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list