Re: Issue with system command in Octave 4.0.0 GUI

2015-10-20 Thread Marco Atzeri
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

Re: Reg : System Command Not Working

2008-06-03 Thread Mani kandan
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

Re: Reg : System Command Not Working

2008-06-02 Thread Christopher Faylor
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

Reg : System Command Not Working

2008-06-02 Thread Mani kandan
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

RE: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-23 Thread Ross Boulet
> -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') > > >> > > >>

Re: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-22 Thread Igor Pechtchanski
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

Re: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-22 Thread Lars Steinke
- >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 (

Re: g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Igor Pechtchanski
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

g77 (new), Windows XP Professional, CALL System(Command, Status), directory.

2004-03-20 Thread Lars Steinke
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

RE: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-19 Thread Dave Korn
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

Re: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-19 Thread Lars Steinke
..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

Re: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-19 Thread Lars Steinke
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

Re: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-18 Thread Hans Horn
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

Re: g77, Windows XP Professional, CALL System(Command, Status)

2004-03-18 Thread Igor Pechtchanski
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

g77, Windows XP Professional, CALL System(Command, Status)

2004-03-18 Thread Lars Steinke
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

Re: System() command

2003-01-07 Thread Jim
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

Re: System() command

2003-01-07 Thread Michael A Chase
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

System() command

2003-01-07 Thread Maor Avni
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