ravikumar10 / genyris

Automatically exported from code.google.com/p/genyris
Other
0 stars 0 forks source link

System!exec does not provide reason for failures. #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  System(.exec "c:\\winnt\\system32\\cmd.exe" "/c" "dzate" "/t")

What is the expected output? What do you see instead?
  Some kind of explanation of the failed exec (stderr or perror etc)

Original issue reported on code.google.com by birchb1...@gmail.com on 1 Dec 2010 at 12:04

GoogleCodeExporter commented 9 years ago
Fix added in 714. exec now returns (<stdout as lines> = <stderr as lines>) and 
when exception thrown. The above example now nehaves as follows:

> System(.exec "c:\\winnt\\system32\\cmd.exe" "/c" "dzate" "/t")

*** Error - (nil '\'dzate\' is not recognized as an internal or external 
command,' 'operable program or batch file.')

Original comment by birchb1...@gmail.com on 1 Dec 2010 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by birchb1...@gmail.com on 8 Dec 2010 at 3:27