Skip to content
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

how to run windows version #1

Open
Apgenco opened this issue Mar 13, 2016 · 5 comments
Open

how to run windows version #1

Apgenco opened this issue Mar 13, 2016 · 5 comments

Comments

@Apgenco
Copy link

Apgenco commented Mar 13, 2016

The example given was on unix.. how do we do it in windows please

@bronze1man
Copy link
Owner

bronze1man commented Mar 16, 2016

It should work for windows.(not yet tested)
You can use git-bash to run the example script in windows.

@brettjacobson
Copy link

Can confirm, it works in git-bash on Windows, but there seems to be no way to make it work in PowerShell, which is what I was expecting for a Windows binary.

@bronze1man
Copy link
Owner

@brettjacobson thanks for your test.
Which version of windows do you use?

@brettjacobson
Copy link

Windows 10, 1703
Windows PowerShell 5.1, and PowerShell Core 6.1.2

@bronze1man
Copy link
Owner

bronze1man commented May 1, 2019

I have test windows 7 cmd.exe the echo example is not work, but file example works:

C:\tmp>more .\1.yaml
a: 1

C:\tmp>.\yaml2json_windows_amd64.exe < ./1.yaml > 2.json

C:\tmp>more .\2.json
{"a":1}

win 7 , powerShell 6.1.7600 file example:

PS C:\tmp> more .\1.yaml
a: 1

PS C:\tmp> Get-Content .\1.yaml | .\yaml2json_windows_amd64.exe > .\2.json
PS C:\tmp> more .\2.json
{"a":1}

Add windows 7 usage (cmd.exe/powerShell) example in README.md .

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

No branches or pull requests

3 participants