RhinoTrac
LassoSoft Ticket Tracking System
NOTE: If you are using Lasso Server 9.3 please Log your ticket directly via the LUX admin as this will give us more information about your issue.
Ticket #8019: file_stdin not working on Windows
- Reported by:
- Eric Knibbe
- Date:
- 29 Jun, 2016
- Priority:
- minor
- Component:
- Lasso 9
- Version:
- 9.3
- Keywords:
- Platform:
- Windows
The command `lasso9 -i` doesn't work on Windows. It doesn't echo user input, and anything typed gets passed directly to the shell once the program is closed. To demonstrate, for this Lasso script `stdin.lasso`:
[stdoutnl('input: '+string(file_stdin->readSomeBytes(1024,1000)))]
when run on Mac or Linux:
echo "text" | lasso9 stdin.lasso
input: text
when run on Windows:
echo "text" | lasso9 stdin.lasso
A failure
Error Code: 109
Error Msg: The pipe has been ended.
Please log in to your LassoSoft account to comment