-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API for chmod #1834
Comments
Added Accepted label. |
Added this to the Later milestone. |
Removed Type-Defect label. |
For now one can use Process.run or Process.runSync to run chmod. Using Process.run and returning a future: Future makeExecutable(File file) { main() { Using Process.runSync and no return value: void makeExecutableSync(File file) { main() { Removed Priority-Medium label. |
Removed Area-IO label. |
I just tried using a Dart script in our build system as an alternative to python, see: https://chromiumcodereview.appspot.com/9454026/
The script dart/utils/dartdoc/build_helper.dart is supposed to write another executable Dart script in the output location. The idea is that just like you can type out/Release_ia32/dart to run the Dart VM, you can type out/Release_ia32/dartdoc to invoke dartdoc.
Unfortunately, there doesn't seem to be a way to make the output file executable from the Dart script.
The text was updated successfully, but these errors were encountered: