running native linux commands from wine. is possible?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
emsoft
Newbie
Newbie
Posts: 4
Joined: Tue Sep 16, 2008 6:04 pm

running native linux commands from wine. is possible?

Post by emsoft »

You can run as of an application, developed in Delphi, running the Linux command native lpr, starting at WinExec?
Thank you
EMSoft ®
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: running native linux commands from wine. is possible?

Post by vitamin »

emsoft wrote:You can run as of an application, developed in Delphi, running the Linux command native lpr, starting at WinExec?
Yes, you can.
emsoft
Newbie
Newbie
Posts: 4
Joined: Tue Sep 16, 2008 6:04 pm

Post by emsoft »

how? Give me an example.

thanks
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

emsoft wrote:how? Give me an example.

thanks
Just run them, specifying the full path.
emsoft
Newbie
Newbie
Posts: 4
Joined: Tue Sep 16, 2008 6:04 pm

Post by emsoft »

Friend, thank you. I was trying to use the command "lpr-P queue file" through WinExec, but did not work. Now use as "/usr/bin/lpr-P queue file" And worked perfectly.

Thank you again.
Locked