The script language has the argv() function which is just what you're looking for. Command-line arguments that are to be passed to the script should come after "--", e.g. "liquidsoap test.liq -- 8000".
HTH David On Mon, Mar 17, 2014 at 9:35 PM, [email protected] <[email protected]> wrote: > Hello! > > Is it possible to give liquidsoap's script a parameter from shell? I'm > running my script like that: > $ liquidsoap test.liq > > I would like to give extra parameter for port number where it should streams > signal, example: > $ liquidsoap test.liq 8000 > > Is it possible? How to catch such parameter in script? > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users -- David ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
