Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Mark Wieder
Dar- Monday, June 9, 2014, 7:01:55 PM, you wrote: > I tried 1<&2, but it had no impact on the command line (after I > put in ‘start /w’) and did not help shell(). OK - maybe we're talking about two different things. In your standalone app, try directing the output of shell() to stderr. I think t

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Dar Scott
I think I have some temporary workarounds. I can use ‘open process’ instead of ‘shell()’ to use the standalone as a command-line process. This is fine. In the command window I can use ‘start /w’ to use the standalone as a command-line process. This is a little embarrassing, but I can ship thi

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Dar Scott
Thanks, Mark! I tried 1<&2, but it had no impact on the command line (after I put in ‘start /w’) and did not help shell(). Do I need server? Dar On Jun 9, 2014, at 7:36 PM, Mark Wieder wrote: > Dar- > > Monday, June 9, 2014, 6:05:24 PM, you wrote: > >> Well, technically STDOUT does go to t

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Dar Scott
Oh. I forgot about launch applications and console applications on Windows. OK. So, I used ‘start /w’ on a command window and that works as expected. But shell() still has problems. If I set hideConsoleWindows to false, I see the output on the window that flashes up. But, whether true or fa

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Mark Wieder
Dar- Monday, June 9, 2014, 6:05:24 PM, you wrote: > Well, technically STDOUT does go to the DOS window, but it is > after the next prompt. And (so far) a quick test with shell() is > not working. Yes, Microsoft has a rather strange definition of stdout. If you pipe the output to stderr instea

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Dar Scott
Well, technically STDOUT does go to the DOS window, but it is after the next prompt. And (so far) a quick test with shell() is not working. Dar On Jun 9, 2014, at 4:25 PM, Dar Scott wrote: > Thanks! > > I’m still using 6.6.1. I’ll upgrade! > > Dar > > > On Jun 9, 2014, at 4:07 PM,

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Dar Scott
Thanks! I’m still using 6.6.1. I’ll upgrade! Dar On Jun 9, 2014, at 4:07 PM, Richard Gaskin wrote: > Dar Scott wrote: > > > I can run my LiveCode standalone application on the command-line on > > OS X and writing to STDOUT goes to the terminal window. > > > > But on Windows 7 I don’t see

Re: nothing from STDOUT for LiveCode CLI on Windows

2014-06-09 Thread Richard Gaskin
Dar Scott wrote: > I can run my LiveCode standalone application on the command-line on > OS X and writing to STDOUT goes to the terminal window. > > But on Windows 7 I don’t see STDOUT in the DOS prompt window. Which version are you using? This bug was marked as Fixed for 6.6.2, the current sta