[bug #68180] Close Octave does not work when the current directory does not exists

José Luis García Pallero <[email protected]>
Newsgroups gmane.comp.gnu.octave.bugs
Message-ID <[email protected]>
Please use the bug tracker to post updates to a bug report.  The mailing list is intended as a read-only notification stream.  Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
  <https://savannah.gnu.org/bugs/?68180>

                 Summary: Close Octave does not work when the current
directory does not exists
                   Group: GNU Octave
               Submitter: jgpallero
               Submitted: jue 26 mar 2026 09:54:02
                Category: GUI
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: jgpallero
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Unlocked
                 Release: 11.1.0
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: jue 26 mar 2026 09:54:02       By: José Luis García Pallero
<jgpallero>
Suppose I create a directory and I set as the working directory in Octave:
cd('directory'). I do some stuff and then I delete the directory. Then if I
try to exit from Octave (exit() command, clic on the close button of the GUI)
or I try to execute any command (help, pwd, etc.) I obtain the error


error: unable to find current directory


I need to type


cd ..


in order to close the program







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68180>

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCacT0LgAKCRCqLAuaBUf3
TpACAP969JCr4NmNyLNv8+IVtoe3/G8w/INsk2HB6BmSkDZIvgD/ZBczOr2srFSs
bUqREy0xHxA2Ey1CvJOc8W9rzrllFgQ=
=msWL
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.