Fabien Bodard ha scritto: > >>> >>> I am using the following code for the creation of a table in a Mysql DB: >>> >>> >>> SHELL"python >>> /home/delphi/Documents/Apodeixi/dimiourgiaTableMYSQLmePython1.py" IF ERROR >>> THEN >>> Message.Error(DConv(Error.Text)) >>> ENDIF >>> >>> The command works perfectly and it creates the table. >>> >>> When I use the same command on a second project it does not execute! >>> With: >>> python dimiourgiaTableMYSQLmePython1.py it does ! >>> (from terminal) >>> >>> Any ideas? >>> A reason could be that the second command is more slow than the first, and you don't WAIT for it to finish. Put a WAIT clause in the SHELL statement and see if it works.
Regards, Doriano ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user