[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #54982] [octave forge] (optim) optim_doc crash

From: Georg Wiora
Subject: [Octave-bug-tracker] [bug #54982] [octave forge] (optim) optim_doc crashes
Date: Wed, 11 Jan 2023 11:43:52 -0500 (EST)

Follow-up Comment #5, bug #54982 (project octave):

Please reopen. I think I can provide the missing information: optim_doc fails
to open "info" executable on windows system if the executable path contains
spaces. You need to quote the file name when submitting it with system

In version 1.6.2 of optim package this is in lines 65 an 69 of optim_doc.

This is how line 65 looks with quotes added

    status = system (sprintf ("\"%s\" \"%s\" --index-search \"%s\"", INFO,
infopath, keyword));

And this is the same for 69

    status = system (sprintf ("\"%s\" \"%s\"", INFO, infopath));

I have appended the m-file with fixes.

(file #54213)


Additional Item Attachment:

File name: optim_doc.m                    Size:2 KB


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]