NNW apparently not passing arguments to shell script subscriptions

Newsgator Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


NNW apparently not passing arguments to shell script subscriptions Expand / Collapse
Author
Message
Posted 6/26/2006 3:53:08 PM
Forum Member

Forum Member

Group: Forum Members
Last Login: 6/8/2009 11:29:02 AM
Posts: 12, Visits: 30
I have written a script that returns a feed of my Wikipedia watchlist. It's written in PHP, and uses the PHP command-line SAPI. (You can see the code at http://en.wikipedia.org/wiki/User:Ryos/Watchlist_RSS_feeder if you like.)

I want to use command-line arguments to allow for configuration so people don't need to edit the script to use it. My options work fine when the script is called from the command line, but when I type them into the "arguments" box in the script subscription info pane, they don't.

It seems that the passing of said arguments or the shell environment provided by NNW is different than I might expect. Unfortunately, I can't find a way to print out what's actually getting through to my program, so I have no way of figuring out what the deal is.

Does anyone know? Does NNW perform special parsing of arguments, or is there something weird about the shell environment it presents to scripts? Has anyone gotten arguments to work with shell scripts?

Thanks!
Post #19319
« Prev Topic | Next Topic »

All times are GMT -7:00, Time now is 3:33am

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.125. 9 queries. Compression Disabled.

NewsGator.com | Support | Developers | Partners | Press | Company
© Copyright 2003-2009  NewsGator Technologies, Inc. All Rights Reserved.
Copyright Information | Privacy Policy | Terms of Service
Microsoft Gold Certified Partner