Ignore:
Timestamp:
May 31, 2012, 5:51:23 PM (13 years ago)
Author:
dmik
Message:

icedtea-web: Make sure descriptors of started java process are preserved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/icedtea-web/plugin/icedteanp/IcedTeaNPPlugin.cc

    r371 r374  
    16631663  environment = plugin_filter_environment();
    16641664
     1665#ifdef __OS2__
     1666  int flags = G_SPAWN_LEAVE_DESCRIPTORS_OPEN | G_SPAWN_DO_NOT_REAP_CHILD;
     1667#else
     1668  int flags = G_SPAWN_DO_NOT_REAP_CHILD;
     1669#endif
     1670
    16651671  if (!g_spawn_async (NULL, command_line, environment,
    1666                       (GSpawnFlags) G_SPAWN_DO_NOT_REAP_CHILD,
     1672                      (GSpawnFlags) flags,
    16671673                      NULL, NULL, &appletviewer_pid, &channel_error))
    16681674    {
Note: See TracChangeset for help on using the changeset viewer.