[pulseaudio-tickets] [PulseAudio] #917: Support for multiple command line arguments with #!/usr/bin/pulseaudio

PulseAudio trac-noreply at tango.0pointer.de
Tue Mar 8 21:51:07 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:         
--------------------------+-------------------------------------------------

Comment(by roothorick):

 So I should do

 {{{
 #!/bin/sh
 pulseaudio -nD --exit-idle-status=-1 -F - << EOF
 ....
 EOF
 }}}

 or some variant thereof? Would that even work?

 In any case, there's no standard for whether the arguments in the shebang
 should be split or not, and the behavior varies across UNIX variants (most
 notably: FreeBSD splits, Linux does not). Shouldn't an application strive
 to handle all possibilities when the exact state of incoming data is
 partially undefined?

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


More information about the pulseaudio-bugs mailing list