This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author manlioperillo
Recipients
Date 2006-04-02.17:18:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310
32 bit (Intel)] on win32 - Windows XP SP2

N.B. sorry for italian error messages.


With the following script:

# redirection.py
import os
import sys


os.system(sys.argv[1])


----------------

When doing:
redirection.py "dir" > redirection.txt

I obtain:
Spazio su disco insufficiente.


Instead with:
redirection.py "svn help" > redirection.txt

svn: Errore di scrittura: Bad file descriptor


This is a Python problem because with an equivalent
program written in C++:

// redirection.c++
#include <cstdlib>


int main(int argc, char** argv) {
  std::system(argv[1]);
    }

---------------------------------


there are no problems.




Thanks and regards  Manlio Perillo
History
Date User Action Args
2007-08-23 14:39:04adminlinkissue1463104 messages
2007-08-23 14:39:04admincreate