Guy Rutenberg wrote:
> On 6 July 2013 15:04, Stephan Witt <st.w...@gmx.net> wrote:
> 
> > IMHO, the current state is a result of using system() call at first
> > because of platform independency and it is never moved to the execv()
> > style later because using QProcess is an option only.
> >
> 
> Now that I'm more familiar with that code, I think I can tackle it and
> convert all calls to execv style with explicit stdin/stdout/stderr. To
> support compilation without QProcess, I suggest taking the execv style
> parameters (together with file names) and constructing a system() call with
> proper quotation. Such refactoring should result in a cleaner code, and be
> better security-wise as the task of proper quotation would be handled in a
> single location.
> 
> What do you think about the suggest change?
> 
> BTW why can't we deprecate building without QProcess?
>
> Also, being kind of new to lyx-devel, what's the preferred way to submit
> such changes? As I'll probably have a local branch with a couple commits

The usual way is that you send patches to the list and if there is agreement
they are fine someone commits for you. In case you are around for a longer
time you get your own access.

I also suggest that you CC Enrico (doing it right now), his is mastering
this QProcess area and I'm not sure how much he is around the list nowadays.

Pavel

Reply via email to