External tools on Windows 10 using bash
Oxygen general issues.
-
- Posts: 1
- Joined: Tue Mar 07, 2017 10:31 pm
External tools on Windows 10 using bash
Hello everyone,
I'm currently using oXygen 18.1 on windows 10. I've installed the "Bash on Ubuntu on Windows" tool and I'm trying to make an external tool which runs bash scripts using this tool.
This is currently what I have for the external tool's command:
bash -c "sh ${cf}"
The working directory is ".", all of the other settings are default.
When I try to use this external tool on a bash script, I get the error code : 0x80070057.
However, the command works fine when run manually through the windows command prompt.
Thanks.
I'm currently using oXygen 18.1 on windows 10. I've installed the "Bash on Ubuntu on Windows" tool and I'm trying to make an external tool which runs bash scripts using this tool.
This is currently what I have for the external tool's command:
bash -c "sh ${cf}"
The working directory is ".", all of the other settings are default.
When I try to use this external tool on a bash script, I get the error code : 0x80070057.
However, the command works fine when run manually through the windows command prompt.
Thanks.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: External tools on Windows 10 using bash
Hi,
The "External tools" is not the same as a command prompt, you always have to specify an executable, as opposed to a command.
There may also be a problem with the PATH environment variable and that's why the bash executable is not found.
Try using /path/to/bash -c "sh ${cf}"
Regards,
Adrian
The "External tools" is not the same as a command prompt, you always have to specify an executable, as opposed to a command.
There may also be a problem with the PATH environment variable and that's why the bash executable is not found.
Try using /path/to/bash -c "sh ${cf}"
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service