[julia-users] run command inserting spurious newlines into return values

2016-10-17 Thread jason . bates
s now been spuriously formatted to be fixed with. Looking at the raw output of the run command, it has inserted extra "\r" tokens into the return string to force the fixed with behavior. Is this intentional? Is there a workaround to prevent this? Regards, Jason Bates

[julia-users] Re: run command inserting spurious newlines into return values

2016-10-17 Thread jason . bates
So, it turns out it's not the run command, as I originally thought. After more digging, I discovered that powershell formats output differently depending on whether it is outputting to a console or to another process, and that when it outputs to another process it auto-formats the output. This

[julia-users] Re: run command inserting spurious newlines into return values

2016-10-18 Thread jason . bates
Piping the powershell output to Write-Host was sufficient to get it to work for .xml files, but it broke on .gz files. However, following the suggestion here: (https://github.com/JuliaPackaging/WinRPM.jl/pull/81), I changed the download function to a call to BinDeps.download_cmd, and that worke

[julia-users] Shell commands in Julia 0.4.2 in Windows 10

2016-01-12 Thread Jason Bates
ds within iPython still execute correctly. Thanks, Jason Bates

[julia-users] Re: Shell commands in Julia 0.4.2 in Windows 10

2016-01-19 Thread Jason Bates
> > Unix shell commands that we happened to be getting from git are no longer > on Julia's path. This is not temporary. Windows is not unix. If you want to > use unix shell commands on windows, either download and add your own > windows posix layer to your path (temporarily in juliarc, not perm