Re: Angle brackets in command-line arguments?
- From: Marc 'BlackJack' Rintsch <bj_666@xxxxxxx>
- Date: 16 Jul 2008 15:07:53 GMT
On Wed, 16 Jul 2008 07:53:56 -0700, Keith Hughitt wrote:
I am using someone else's script which expects input in the form of:
./script.py <arg1> arg2
I was wondering if the angle-brackets here have a special meaning? It
seems like they specify an input and output stream to use in place of the
console. I could not find anything in the python manual or Python in a
Nut-shell though.
Anyone know?
That's not Python's business but the command shell's. Those characters
are used for redirecting input and ouput from/to files in shells, so it
should be covered in the documentation of the shell you are using.
Including ways to protect the characters, so they reach the called program
in arguments.
Ciao,
Marc 'BlackJack' Rintsch
.
- References:
- Angle brackets in command-line arguments?
- From: Keith Hughitt
- Angle brackets in command-line arguments?
- Prev by Date: poplib 100% cpu usage
- Next by Date: Re: Angle brackets in command-line arguments?
- Previous by thread: Angle brackets in command-line arguments?
- Next by thread: Re: Angle brackets in command-line arguments?
- Index(es):
Relevant Pages
|