https://issues.apache.org/ooo/show_bug.cgi?id=125117
Ariel Constenla-Haile <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |needmoreinfo --- Comment #1 from Ariel Constenla-Haile <[email protected]> --- IIRC on unix systems the argument string is passed as a single command, so it only works if you are passing only one argument. Can you attach a document with a macro? Can you run OpenOffice from the terminal and see the terminal output when you run the macro? On Linux, for example, the following works: Sub Main Dim oShell oShell = com.sun.star.system.SystemShellExecute.create() oShell.execute("spd-say","--list-output-modules",com.sun.star.system.SystemShellExecuteFlags.NO_SYSTEM_ERROR_MESSAGE) End Sub Sub Main Dim oShell oShell = com.sun.star.system.SystemShellExecute.create() oShell.execute("spd-say","Hello world!",com.sun.star.system.SystemShellExecuteFlags.NO_SYSTEM_ERROR_MESSAGE) End Sub But not the following: Sub Main_2 Dim oShell oShell = com.sun.star.system.SystemShellExecute.create() oShell.execute("spd-say","--voice-type ""female1"" ""Hello world""",com.sun.star.system.SystemShellExecuteFlags.NO_SYSTEM_ERROR_MESSAGE) End Sub on the terminal I get spd-say: unrecognized option '--voice-type "female1" "Hello world"' Unrecognized option -- You are receiving this mail because: You are the assignee for the issue. You are watching all issue changes.
