you can use process for that ... and then write on this stream 2010/8/20 Ian Haywood <ihayw...@iinet.net.au>: > On 8/20/10, jose <jose2...@gmail.com> wrote: >> Hello, I'm half a cumbersome problem, I try to run a shell to my mplayer >> variable declared as a process. >> >> What is the running mplayer python interactive console which I call a >> player, my problem is: >> >> Once called the SHELL ("python"), you run the console, but not how to >> enter new commands to the console. >> >> I tried to run SHELL ("import pygame") to write it in the terminal, but >> does not. >> >> Does anyone could tell me I'm doing wrong, or perhaps some example code? > Write a python program as a separate file (.py extension) and get it working > to do what you want. > > Then run it from Gambas: > > Exec ["/usr/bin/python","/path/to/my/script.py"] > > Ian > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-dev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user >
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user