Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103825
| From | Wildman <best_lay@yahoo.com> |
|---|---|
| Subject | Re: Request More Help With XBM Image |
| Newsgroups | comp.lang.python |
| References | <8rKdnb6SKYLRIEnLnZ2dnUU7-f3NnZ2d@giganews.com> <mailman.60.1456822634.20602.python-list@python.org> <34GdnUOxhd5vS0jLnZ2dnUU7-Y3OydjZ@giganews.com> <mailman.77.1456856833.20602.python-list@python.org> <ueedncPfhadeeEjLnZ2dnUU7-SOdnZ2d@giganews.com> |
| Organization | Wildman Productions |
| Message-ID | <uZ6dnUbtGfXJskvLnZ2dnUU7-InNnZ2d@giganews.com> (permalink) |
| Date | 2016-03-01 18:09 -0600 |
On Tue, 01 Mar 2016 12:56:03 -0600, Wildman wrote: > On Tue, 01 Mar 2016 19:26:55 +0100, Peter Otten wrote: > >> An exception is raised because you pass the command as a single argument > > <snip good stuff> > > I did not realize that how the command was passed would > make such a difference. I guess I am stuck in my old > VB habits for creating variables. You don't have to > say it, this ain't VB! :-) > > After making the changes to "command = ", it works fine > without the shell. At the risk of sounding redundant, > thank you. Ok, after some thought I think I understand what happened. Since I had the command as a single element, bash was required to parse the command therefore my code would not run without shell=true. That makes sense. I may not be the fastest oar in the water but I will eventually reach the shore. <g> Thanks again for all your help. -- <Wildman> GNU/Linux user #557453 The cow died so I don't need your bull!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Request More Help With XBM Image Wildman <best_lay@yahoo.com> - 2016-02-29 15:51 -0600
Re: Request More Help With XBM Image Peter Otten <__peter__@web.de> - 2016-03-01 09:56 +0100
Re: Request More Help With XBM Image Wildman <best_lay@yahoo.com> - 2016-03-01 11:52 -0600
Re: Request More Help With XBM Image Peter Otten <__peter__@web.de> - 2016-03-01 19:26 +0100
Re: Request More Help With XBM Image Wildman <best_lay@yahoo.com> - 2016-03-01 12:56 -0600
Re: Request More Help With XBM Image Wildman <best_lay@yahoo.com> - 2016-03-01 18:09 -0600
Re: Request More Help With XBM Image Christian Gollwitzer <auriocus@gmx.de> - 2016-03-01 20:30 +0100
Re: Request More Help With XBM Image Wildman <best_lay@yahoo.com> - 2016-03-01 14:24 -0600
csiph-web