[mira_talk] Bug when the mira executable is in a directory with a space character in the name

  • From: Sidney Markowitz <sidney@xxxxxxxxxxxxxx>
  • To: mira_talk@xxxxxxxxxxxxx
  • Date: Tue, 18 Feb 2014 11:45:57 +1300

I filed this as a bug ticket at
https://sourceforge.net/p/mira-assembler/tickets/8/

Space character in path name of executable causes failure

Steps to reproduce:
Create a directory that has a space character in the name such as "~/mira bin"
Place the mira executable in that directory
Add the directory to PATH so that running the command mira will run that
executable
Try to run mira on some test manifest.txt file.

Expected result: The test case works
Actual result: An error message "Failure, wrapped MIRA process aborted"

The error message comes from mod_mira.C where miraMain_launchWrapped attempts
to run the mira executable in a shell command line without allowing for the
possibility of spaces or other special characters in the full path to the
executable.

-- 
You have received this mail because you are subscribed to the mira_talk mailing 
list. For information on how to subscribe or unsubscribe, please visit 
http://www.chevreux.org/mira_mailinglists.html

Other related posts: