featuremgmt/featuremgr/test/tef/tef_efm_unit/src/efm_unit_teststeps.cpp
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
--- a/featuremgmt/featuremgr/test/tef/tef_efm_unit/src/efm_unit_teststeps.cpp	Tue Aug 31 16:57:14 2010 +0300
+++ b/featuremgmt/featuremgr/test/tef/tef_efm_unit/src/efm_unit_teststeps.cpp	Wed Sep 01 12:39:58 2010 +0100
@@ -1,4 +1,4 @@
-// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
 // under the terms of "Eclipse Public License v1.0"
@@ -435,7 +435,16 @@
 			   _L("RProcess::Create expects KErrNone, returned value is = %d"),err);
 	if( err==KErrNone )
 		{
-	    iSWIProcess.Resume();	
+	    RApaLsSession ls;
+		CApaCommandLine* cmdLine;		
+		User::LeaveIfError(ls.Connect());
+		CleanupClosePushL(ls);
+		cmdLine = CApaCommandLine::NewLC();
+		cmdLine->SetExecutableNameL(KDummySWIPath);
+		cmdLine->SetProcessEnvironmentL(iSWIProcess);
+		iSWIProcess.Resume();	
+		CleanupStack::PopAndDestroy(2);
+		cmdLine = NULL;			
 		}
     
 	// Install the Active Scheduler. We need this for the SWIListener Active Object on the server to