Skip to content

Conversation

ericsciple
Copy link
Contributor

No description provided.


let bashPath: string = tl.which('bash', true);
if (process.platform == 'win32') {
// Translate the script path from Windows to the Linux file system.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to translate C:\___ to /mnt/c/___

@ericsciple
Copy link
Contributor Author

task output is:

C:\Windows\system32\bash.exe --noprofile --norc -c pwd
/mnt/c/vsts-agent-win7-x64-2.119.1/_work/_temp
C:\Windows\system32\bash.exe --noprofile --norc /mnt/c/vsts-agent-win7-x64-2.119.1/_work/_temp/edab05c6-99fe-4320-b3c4-8efc5c9b5c79.sh
hello funny ç char

@TingluoHuang
Copy link
Contributor

looks good.

@ericsciple ericsciple merged commit 4f8cb36 into master Jun 26, 2017
@ericsciple ericsciple deleted the users/ersciple/m120bashwin branch June 26, 2017 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants