Can I execute a shell script from Wine ?

BKirshte at kbtoys.com BKirshte at kbtoys.com
Tue Sep 9 08:09:12 CDT 2003


What I really want is - to trigger some Linux shell scripts, or PERL from
Lotus Notes script "shell" command.

      batchFile = "z:\usr\share\bin\test.bat"
      If Dir$(batchFile) <> "" Then
            taskId% = Shell(batchFile)
      Else
            Print batchFile & " not found."
      End If

(where test.bat has one line similar to this one - <perl_pgm_name>.pl

I've also tried  winefile (did not know it existed) - double click did not
do it though ...
What am I doing wrong here ?

Thanks.

Boris Kirshteyn
K-B Toys, Software Architect
(413) 496-3249
bkirshte at kbtoys.com


                                                                                                                                   
                      Rein Klazes                                                                                                  
                      <rklazes at xs4all.n        To:       BKirshte at kbtoys.com                                                       
                      l>                       cc:       wine-users at winehq.com                                                     
                                               Subject:  Re: Can I execute a shell script from Wine ?                              
                      09/09/2003 08:22                                                                                             
                      AM                                                                                                           
                      Please respond to                                                                                            
                      rklazes                                                                                                      
                                                                                                                                   
                                                                                                                                   




On Tue, 9 Sep 2003 07:57:04 -0400, you wrote:

>
> Thanks for the quick response.
> So, how would I run a shell script ?
> "wine c:\shell_script_name.sh" gives me "Illegal function call" error
> message.

That is why I wrote "from a windows program". Start winefile, double
click on the icon of a shellscript, works here. I launch Linux programs
from within Agent same way.

If that is not what you want, can you explain why you cannot execute the
Linux script directly?

Rein.
--
Rein Klazes
rklazes at xs4all.nl








More information about the wine-users mailing list