Can I execute a shell script from Wine ?

BKirshte at BKirshte at
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)
            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 ?


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

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

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:\" 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 Klazes
rklazes at

More information about the wine-users mailing list