Comments (4)
LispPad is a sandboxed application and you cannot write files outside of the sandbox unless you (manually) authorize access. If you just want to create files, I would create them within the sandbox and then simply refer to them from Finder.
For instance, you can create a PDF file like this:
(pdfex1 "ex1.pdf")
The location of the generated file can be found using the function file-path
:
(file-path "ex1.pdf")
→ "/Users/yourusername/Library/Containers/net.objecthub.LispPad/Data/ex1.pdf"
The only other alternative is currently to declare, e.g. your home directory, as a location for libraries via the Preferences (Environment tab). This will give you access to your full home directory bypassing the sandbox. This is obviously a hack. Finding a better solution is currently on my todo list.
from swift-lispkit.
Thanks!
from swift-lispkit.
Maybe the LispPad app could have a menu item that said something like "Open LispPad/Data in Finder"?
from swift-lispkit.
The latest version of LispPad has a means to declare a home folder outside of the sandbox. Also the mechanism to persist access to such a folder is working now. Thanks a lot for reporting this issue.
from swift-lispkit.
Related Issues (17)
- repl: printing without a newline character HOT 3
- Calling iOS SDKs HOT 1
- How to use `(import (srfi sicp))` in Apple App Store for MacOS LispPad.app Version 1.6.0 (1226) HOT 3
- Are you looking for contributions?
- Threads / Concurrency? HOT 2
- `(lispkit math)` truncation procedures do not guard against zero divisor HOT 2
- Build fails: error: redefinition of module HOT 4
- bug report HOT 2
- bytevector-copy returns range error with less than three arguments HOT 4
- Unable to build from command line HOT 3
- How can I run a script HOT 1
- How to interact with native Swift libraries? HOT 3
- problem with import HOT 2
- problem with sort HOT 1
- LispPad 1.2.2, included documentation? HOT 5
- repl: text formatting (color) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-lispkit.