Opened 11 years ago
Closed 11 years ago
#449 closed proposed feature (invalid)
Add ability to list and change directories
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | minor | Milestone: | 3-1-5 and higher |
Component: | dontKnow | Version: | 3-1-5 |
Keywords: | Cc: |
Description
There seems to be no way to list the current working directory in Singular. Moreover, no way to change the working directory. This is a serious problem when using Singular in several different projects, each project of course having a folder devoted to files of only that project. And, the Singular is started from a desktop icon, there is no way to choose what working directory it has.
Note: See
TracTickets for help on using
tickets.
You can get the current working directory with 'system("sh", "pwd");'. Note that 'system("sh", [command]);' will execute any shell command from within Singular, but also note that 'system("sh", "cd foo");' doesn't work for good reasons.
What you actually want is probably this: If you start Singular from a shell (use cygwin under Windows), then you can first navigate to the directory of your project and then start Singular. You can then easily access any file in this dir from within Singular.