It is printed on stderr , so 2> is the appropriate syntax for a shell type call.
Or you can use Capture::Tiny to capture all output http://search.cpan.org/~dagolden/Capture-Tiny-0.46/lib/Capture/Tiny.pm > On Oct 2, 2017, at 11:36 AM, Jose Gascon <joseagas...@gmail.com> wrote: > > Greetings > > I have a perl script that calls obabel to convert the format of a > structure. The conversion always prints to the screen "1 molecule > converted". Is there any way to suppress that message? Directing to > some sort of a log file via ">" does not work. > > Thanks in advance, > > Jose > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss