By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,341 Members | 1,435 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,341 IT Pros & Developers. It's quick & easy.

Optimize flag on shebang line

P: n/a

Does the optimize flag work on the shebang line of UNIX systems? I've
tried to execute a script on a Solaris system with a shebang line of the

#! /usr/bin/env python -O

and it does not recognize the flag but

python -O <script> <args>

does what I expect on the command line.

Andres Corrada-Emmanuel
Senior Research Fellow
Center for Intelligent Information Retrieval
University of Massachusetts, Amherst
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.