michael@0: /* michael@0: * Copyright (c) 2002-2003 ActiveState Corp. michael@0: * Author: Trent Mick (TrentM@ActiveState.com) michael@0: * michael@0: * Permission is hereby granted, free of charge, to any person obtaining a michael@0: * copy of this software and associated documentation files (the michael@0: * "Software"), to deal in the Software without restriction, including michael@0: * without limitation the rights to use, copy, modify, merge, publish, michael@0: * distribute, sublicense, and/or sell copies of the Software, and to michael@0: * permit persons to whom the Software is furnished to do so, subject to michael@0: * the following conditions: michael@0: * michael@0: * The above copyright notice and this permission notice shall be included michael@0: * in all copies or substantial portions of the Software. michael@0: * michael@0: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS michael@0: * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF michael@0: * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. michael@0: * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY michael@0: * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, michael@0: * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE michael@0: * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. michael@0: */ michael@0: michael@0: /* Console launch executable. michael@0: * michael@0: * This program exists solely to launch: michael@0: * python /.py michael@0: * on Windows. ".py" must be in the same directory. michael@0: * michael@0: * Rationale: michael@0: * - On some Windows flavours .py *can* be put on the PATHEXT to be michael@0: * able to find ".py" if it is on the PATH. This is fine michael@0: * until you need shell redirection to work. It does NOT for michael@0: * extensions to PATHEXT. Redirection *does* work for "python michael@0: *