Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > problem running long commands with os.system()

Thread Tools

problem running long commands with os.system()

jon c
Posts: n/a
does anyone know a quick solution to the following problem (I know it's not
directly python related)

I am running on windows 2000 (yuk) and using python 2.3.2

i run the command os.system(cmd) where cmd is a very long string.

i get the error

"The following character string is too long:"

followed by some of my character string.

Can i run these commands in some cunning way?

__________________________________________________ _______________
Find a cheaper internet access deal - choose one to suit you.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Having compilation error: no match for call to (const __gnu_cxx::hash<long long int>) (const long long int&) veryhotsausage C++ 1 07-04-2008 05:41 PM
unsigned long long int to long double Daniel Rudy C Programming 5 09-20-2005 02:37 AM
Need Help Differentiating Bad Commands From Incomplete Commands Tim Stanka Python 1 08-02-2004 02:08 AM
Assigning unsigned long to unsigned long long George Marsaglia C Programming 1 07-08-2003 05:16 PM
Re: man pages for C commands (GCC commands) Ben Pfaff C Programming 4 06-28-2003 06:21 PM