Hi ...

I have a related question, it might be a feature suggestion for the police
force ...

Shoes doesn't quite work the way I expected with the Windows Start command.

For the non-Windows people, I'll explain .. Start is like:

    $ shoes myShinyApp.rb &

But actually, under windows when one kick-s a GUI application is _should_
fire off to the windows message-loop as a window program.  For example; look
at the difference between Notepad and Shoes on the command line.

   C:\ >  shoes myShinyApp ......... Waits until the window is closed.
   C:\ >  Notepad
   C:\ >  ....................  Notepad is launched as its own stack or like
a fork() process
                                  And the next command line prompt appears
for me to do more.

   I'm pretty sure that's the normal behaviour on Apple when I type
something like finder to the command doesn't it go off and leave me with the
next command prompt too?

With Start, like

   C:\ >  start shoes myShinyApp ......... Opens a new consol window and
that WAITS
                                                           until the Shoes
app window is closed.

So my "guess" here is that Shoes is built as a console application (say like
xcopy or ipconfig) and not a windows application (like notepad).


On the "least surprise" principle, I'd expect and my (Mac user) wife would
expect a GUI app to fire-off a gui window and issue a new prompt.  On linux
it is like (say an x-program).

    $  xstart Shoes myShinyApp

(or whatever).... Do folk think that makes sense, or was it just me ?


aloha,
        \_w_/
___________________________________
   º http://mbimarketing.wordpress.com
   º http://adroit-process.blogspot.com



2009/7/31 Roy Wright <[email protected]>

> Of course there is the old standby:
>
> #!/usr/bin/env shoes
>
>
>>> Then, I can say:
>>>
>>> $ shoes foo.rb
>>>
>>

Reply via email to