nothing from STDOUT for LiveCode CLI on Windows

Dar Scott dsc at swcp.com
Mon Jun 9 22:59:00 EDT 2014


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 this.

Dar


On Jun 9, 2014, at 7:48 PM, Dar Scott <dsc at swcp.com> wrote:

> 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 false, I still don’t get the output in shell().  
> 
> Use open process?  Some other start options?  
> 
> Dar
> 
> 
> On Jun 9, 2014, at 7:05 PM, Dar Scott <dsc at swcp.com> 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.  
>> 
>> Dar
>> 
>> 
>> On Jun 9, 2014, at 4:25 PM, Dar Scott <dsc at swcp.com> wrote:
>> 
>>> Thanks!  
>>> 
>>> I’m still using 6.6.1.  I’ll upgrade! 
>>> 
>>> Dar
>>> 
>>> 
>>> On Jun 9, 2014, at 4:07 PM, Richard Gaskin <ambassador at fourthworld.com> 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 STDOUT in the DOS prompt window.
>>>> 
>>>> Which version are you using?
>>>> 
>>>> This bug was marked as Fixed for 6.6.2, the current stable release.
>>>> 
>>>> -- 
>>>> Richard Gaskin
>>>> Fourth World Systems
>>>> Software Design and Development for the Desktop, Mobile, and the Web
>>>> ____________________________________________________________________
>>>> Ambassador at FourthWorld.com                http://www.FourthWorld.com
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list