Ignore:
Timestamp:
06/24/20 21:40:30 (7 weeks ago)
Author:
Maciej Komosinski
Message:

Keep executable name and each argument separate in the Popen() call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksCLI.py

    r948 r953  
    5454                exe_call_to_get_path = [mainpath, '-?']
    5555                try:
    56                         print("\n".join(self.__readAllOutput(" ".join(exe_call_to_get_version))))
    57                         help = self.__readAllOutput(" ".join(exe_call_to_get_path))
     56                        print("\n".join(self.__readAllOutput(exe_call_to_get_version)))
     57                        help = self.__readAllOutput(exe_call_to_get_path)
    5858                        for helpline in help:
    5959                                if 'dDIRECTORY' in helpline:
     
    110110                outfile.write("org:\n")
    111111                outfile.write("genotype:~\n")
    112                 outfile.write(genotype + "~\n\n")  # TODO proper quoting of genotype...
     112                outfile.write(genotype + "~\n\n")  # TODO proper quoting of special characters in genotype...
    113113                outfile.close()
    114114                return name
Note: See TracChangeset for help on using the changeset viewer.