Changeset 1a30f05 for functions.c


Ignore:
Timestamp:
Mar 25, 2011, 2:27:30 AM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
50970e1, feeb835, e9b037f, a2a8833, b27e82f, f27b044
Parents:
fe3b017
git-author:
Anders Kaseorg <andersk@mit.edu> (03/25/11 02:24:53)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/25/11 02:27:30)
Message:
exec: Fix input redirection of multistatement commands

Previously ‘:exec read foo; true’ blocked on terminal input.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    re5da3fe r1a30f05  
    19941994
    19951995  buff = skiptokens(buff, 1);
    1996   newbuff = g_strdup_printf("%s%s", buff, redirect);
     1996  newbuff = g_strdup_printf("exec%s; %s", redirect, buff);
    19971997
    19981998  if (type == OWL_OUTPUT_POPUP) {
Note: See TracChangeset for help on using the changeset viewer.