Αρχικό μήνυμα από Andrew DeFaria
PROBLEM solved: TOOK /usr/grace/bin/xmgrace.exe and copied it to
/bin/gracebat.exe
Works fine now and is consistent with the explanation that activestate does not
properly interpret symlinks
> > Better now, but still something is missing cygwin is under c:\c
Ugh, top-posting... Reformatted.
On Thu, 22 Feb 2007, moka wrote:
> > On Wed, 21 Feb 2007, moka wrote:
> >
> > > I do startxwin to open X and then do
> > > gracebat
> > > this does what I want, namely produce a jpeg file
> > >
> > > Now if I try this for a perl script(run from X)
> > > system(
[EMAIL PROTECTED] wrote:
Better now, but still something is missing cygwin is under c:\cygwin e.g.
c:\cygwin\bin
There I see
\bin\gracebat.exe->/usr/grace/bin/xmgrace.exe
What is this? There is no \bin\gracebat.exe. Cygwin doesn't use
backslashes in path names. So then how do you "see" thi
Better now, but still something is missing
cygwin is under c:\cygwin
e.g. c:\cygwin\bin
There I see
\bin\gracebat.exe->/usr/grace/bin/xmgrace.exe
but also the same for /bin/xmgrace.exe
The script directory is c:\cygwin\mydir
so in the perl script
my $updir='..';
my $gracebat=$updir .'/usr/gra
Note sure I understand what the bash solution is:
I do startxwin to open an X-session, then I do
bash
and then run
perl myscript.pl
This stumbles on the same problem
So if I understand you correctly, replacing "gracebat"
by "C:\path_to_gracebat.exe\gracebat"(which cmd.exe would presumably unde
On Wed, 21 Feb 2007, moka wrote:
> I do startxwin to open X and then do
> gracebat
> this does what I want, namely produce a jpeg file
>
> Now if I try this for a perl script(run from X)
> system(gracebat )
>
> i.e. the exact same line that produced the right result
> I get an error.
>
> I guess
[EMAIL PROTECTED] wrote:
Forgot to say that the error message is :the system cannot
execute the specified program
(failure code 256)
I do startxwin to open X and then do
gracebat
this does what I want, namely produce a jpeg file
Now if I try this for a perl script(run from X)
system(gracebat
Forgot to say that the error message is :the system cannot
execute the specified program
(failure code 256)
>
> I do startxwin to open X and then do
> gracebat
> this does what I want, namely produce a jpeg file
>
> Now if I try this for a perl script(run from X)
> system(gracebat )
>
> i.
8 matches
Mail list logo