On 19/10/2015 21:11, James R. Phillips wrote:
Hello,
The new Octave 4.0.0 GUI is very impressive. I did discover an issue, though.
Using the system command with 'bash" as an argument, i.e,
system('bash')
should yield a bash command prompt in the command window. Howev
I don't understand why you wouldn't just use samp.sh unchanged from
Unix without changing it to a .bat file and use either product the way
it was designed without SFU with cygwin binaries or vice versa.
But, unless this is just a simple PATH environment variable problem, i'm
sorry, but we're reall
upport those unix command. We are using some cygwin exe
>also.We have installed cygwin also. In my application we have one
>senario that one cpp file have system command, and we have created exe
>with MSVC++. But when i run that exe
>
>I got the error message that "The sys
installed cygwin also. In my application we have
one senario that one cpp file have system command, and we have
created exe with MSVC++. But when i run that exe
I got the error message that "The system cannot execute the
specified program". Then I have created sample.exe which
is
> -Original Message-
> From: cygwin-owner On Behalf Of Igor Pechtchanski
> Sent: Monday, March 22, 2004 7:12 AM
>
> On Mon, 22 Mar 2004, Lars Steinke wrote:
>
> > >On Sat, 20 Mar 2004, Lars Steinke wrote:
> > >
> > >> Hello,
> > >>
> > >> call system('cmd.exe /c cls')
> > >>
> > >>
On Mon, 22 Mar 2004, Lars Steinke wrote:
> >On Sat, 20 Mar 2004, Lars Steinke wrote:
> >
> >> Hello,
> >>
> >> call system('cmd.exe /c cls')
> >>
> >> works! Thank you Dave!
> >>
> >> Now I have a new problem with 'call system':
> >> I wolud like to start a batch-file named '1.bat'.
> >> 1.b
-
>On Sat, 20 Mar 2004, Lars Steinke wrote:
>
>> Hello,
>>
>> call system('cmd.exe /c cls')
>>
>> works! Thank you Dave!
>>
>> Now I have a new problem with 'call system':
>> I wolud like to start a batch-file named '1.bat'.
>> 1.bat and my program are in the same directory (
On Sat, 20 Mar 2004, Lars Steinke wrote:
> Hello,
>
> call system('cmd.exe /c cls')
>
> works! Thank you Dave!
>
> Now I have a new problem with 'call system':
> I wolud like to start a batch-file named '1.bat'.
> 1.bat and my program are in the same directory (C:\test).
>
> call syste
Hello,
call system('cmd.exe /c cls')
works! Thank you Dave!
Now I have a new problem with 'call system':
I wolud like to start a batch-file named '1.bat'.
1.bat and my program are in the same directory (C:\test).
call system('1.bat')
pause
end
Error-message:
1.bat: not
in the Win-XP-shell, it works.
> If my program tries to invoke the cls command in the
> Win-XP-shell it does not work?
That's presumably because cls is a builtin command to the XP shell, rather
than a separate executable; presumably the system command is trying and
failing to execute a p
..sorry!
Attachment: cygcheck > check.txt
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Mar 19 16:21:43 2004
Windows XP Professional Ver 5.1 Build 2600 Service Pack 1
Path: C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\b
Hi,
first of all: thanks a lot for your answers!
I have revised my PATH and now it is possible to do the following:
write(*,*)'1'
pause
call system('clear')
write(*,*)'2'
pause
end
It works (Win-XP-shell)!
..but
if I use:
call system('cls')
I get th
Mar 2004, Lars Steinke wrote:
>
> > Hello,
> >
> > I have a problem with:
> >
> > CALL System(Command, Status)
> >
> > I am using g77 (cygwin, Windows XP Professional).
> > The routine call system does not work - nothing happens, no
> > error-message
On Thu, 18 Mar 2004, Lars Steinke wrote:
> Hello,
>
> I have a problem with:
>
> CALL System(Command, Status)
>
> I am using g77 (cygwin, Windows XP Professional).
> The routine call system does not work - nothing happens, no
> error-message, the program co
Hello,
I have a problem with:
CALL System(Command, Status)
I am using g77 (cygwin, Windows XP Professional).
The routine call system does not work - nothing happens, no error-message, the program
continues and the call system command seems to be ignored.
Can you help me?
BTW: What is
I have this very simple C program:
#include
int main()
{
char a[] = "echo echo testing 123";
-- char a[] = "cmd.exe -c echo echo test 123";
// I thought there was a shell( char* ) which invoked the command in the
// current shell? system just forks and execs a process, though hmm
// I sup
On Tue, 7 Jan 2003 12:55:09 +0200 Maor Avni <[EMAIL PROTECTED]> wrote:
> I have this very simple C program:
>
> #include
>
> int main()
> {
> char a[] = "echo echo testing 123";
> system(a);
> return 0;
> }
>
> I compile it with gcc and everything works fine, until I run it under
> Win2K
Hi,
I have this very simple C program:
#include
int main()
{
char a[] = "echo echo testing 123";
system(a);
return 0;
}
I compile it with gcc and everything works fine, until I run it under Win2K's cmd.exe:
the program just exits and does nothing.
I have set up the PATH environment var
18 matches
Mail list logo