Hi Christian, The following works, although it may not be a neat solution:
pymol -d 'cmd.help("selections")' Mind the quotes. Hope it helps, Tsjerk On Thu, Sep 11, 2008 at 5:48 AM, Christian Seifert <cseif...@bph.ruhr-uni-bochum.de> wrote: > Hi. > > The command "help launch" tells me, that the launch parameter -d > <string> starts the command (written in the string) after the start of > pymol. This works well, if I just send a string of one word (e.g. > "help"), but if I try to send more than one word (e.g. "help > selections") pymol executes the command "help" and then tries to open a > file named "selections". > I tried using apostrophes in the shell, but I did not find a solution. > Is there any possibility to start pymol with a string which contains > whitespaces (e.g. $ pymol -d "help selections")? > > Regards, > Christian. > > -- > M. Sc. Christian Seifert > Department of Biophysics > University of Bochum > ND 04/67 > 44780 Bochum > Germany > Tel: +49 (0)234 32 28363 > Fax: +49 (0)234 32 14626 > E-Mail: cseif...@bph.rub.de > Web: http://www.bph.rub.de > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users > -- Tsjerk A. Wassenaar, Ph.D. Junior UD (post-doc) Biomolecular NMR, Bijvoet Center Utrecht University Padualaan 8 3584 CH Utrecht The Netherlands P: +31-30-2539931 F: +31-30-2537623