Hi:

I am using Nautilus file browser (version 2.30.0).

I have written a C++ program, compiled.   Part of that use system() C api to
execute a bash script.  The bash script does

  echo "some password" | sudo -S <some executable>


The executable runs fine.  But if I run from nautilus, it never gets to call
that system() line.   I tried creating the bash script dynamically right
before system() is called and the script is created.   From within the
script, I tried to write a file but it never happens.  So I know the script
is not called.
If I execute the script directly from Nautilus, it works though.

What am I missing?   Calling an executable that in turn calls another
executable is not allowed in Nautlius?

Thanks for any tips.

Mark
-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to