[SIP-devel] stderr trapping (fwd)
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Ricardo F. <rf...@if...> - 2002-11-29 20:25:16
|
Edson, aqui est=E1 o mail sobre stderr trapping no Scilab. Ricardo. On Wed, 30 Oct 2002, Dr Scilab wrote: > you wrote> Hello, > you wrote> > you wrote> how do I execute a shell comand in scilab and get both the ste= rr and stdout into > you wrote> scilab variables? > you wrote> > you wrote> For instance, when I type the following command, I don't want = the user to see the > you wrote> error "command not found". > you wrote> > you wrote> --> unix_g('foobar'); > you wrote> > you wrote> sh: foobar: command not found > you wrote> > > Look at the source code of unix_g, you will see how to do it. > > Dr Scilab > -- Ricardo Fabbri Cybernetic Vision Research Group - USP http://cyvision.if.sc.usp.br/~rfabbri |