Python Forum
Difference between Python's os.system and Perl's system command
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Difference between Python's os.system and Perl's system command
Then use
full_cmd = r'echo -e \\a\b\c\d\Test\H_program.exe "0,0,2019,0,M,\\a\b\c\d\Test\H_test.bin,,\\a\b\c\d\Test\, \\a\b\c\d\Test\Test\e\f\g_test.csv,0,"'
Not required
Try without the shlex.split() part, that is to say, shell=True). For some reason the shlex.split() doesn't behave well with your \\a\b\c...
Not required

(Dec-02-2019, 02:26 PM)Gribouillis Wrote: It is meaningless to try things randomly. Find the command that works in a Cmd window first, outside of any scripting language.

I found the problem. Long story short, it was an extra blank character in the Python script.


Possibly Related Threads…
Thread Author Replies Views Last Post
  IoT Air Monitoring System project_science 0 494 Mar-26-2021, 08:14 PM
Last Post: project_science
Exclamation "System cannot find path specified"(Geany) kiwi99 2 689 Mar-18-2021, 07:37 PM
Last Post: kiwi99
  How to link Sublime Text 3 Build system to Python 3.9 Using Windows 10 Fanman001 2 1,549 Mar-04-2021, 03:09 PM
Last Post: martpogs
  Change icons of system rizzla 1 454 Jan-28-2021, 03:30 PM
Last Post: Marbelous
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 7,756 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  how to find difference between fake driving license or real using python? pjaymn 2 516 Dec-20-2020, 08:41 PM
Last Post: jefsummers
  Solve system of equations Sancho_Pansa 19 1,605 Oct-27-2020, 08:15 AM
Last Post: Sancho_Pansa
  function call at defined system time? Holon 5 926 Oct-06-2020, 03:58 PM
Last Post: snippsat
  Solve a system of linear equations with binary variables lopeslimagabriel 3 612 Sep-24-2020, 07:09 AM
Last Post: scidam
  system of inequalities in python fiel 1 593 Sep-12-2020, 06:07 AM
Last Post: DPaul

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020