Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Problem with env?
- X-seq: zsh-users 18253
- From: İsmail Dönmez <ismail@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Problem with env?
- Date: Wed, 25 Dec 2013 11:56:48 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=donmez.ws; s=www; h=mime-version:from:date:message-id:subject:to:content-type; bh=qZ37gZFC9wETw6vwzyiWGCLwvW/mssh12OwDagqN8+A=; b=QaBmlngxwQBgwq8rsPWsNCDVJNPnKKhhlxMoyV2lHKwAtC7dwBeLCrzlMqI6SBsxZQ AtDkKcgW3yVUGExtN+LM68UtgGQg1JaDnhCuXynQc2DsFmr+4WM22yTHV1IsJGtdAP9l mkad+23jU7PS/HGmg6UIq7Fd/fw4v9OD18WIw=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi,
I have a very simple script:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
import sys
print("%s.%s.%s" % (sys.version_info.major,
sys.version_info.minor,
sys.version_info.micro))
This is supposed to run in python3. With zsh 5.0.2 (x86_64-suse-linux-gnu):
[~]> ./test.py
2.7.5
So it runs python instead of python3. With bash 4.2:
[~]> ./test.py
3.3.2
So obviously something going on with zsh or my zsh setup. Any ideas?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author